[Python-checkins] python/dist/src/Include pymactoolbox.h,1.5,1.6

jackjansen@users.sourceforge.net jackjansen@users.sourceforge.net
Tue, 10 Sep 2002 05:32:49 -0700


Update of /cvsroot/python/python/dist/src/Include
In directory usw-pr-cvs1:/tmp/cvs-serv23567/Include

Modified Files:
	pymactoolbox.h 
Log Message:
Added include guards and C++ extern "C" {} constructs. Partial fix for #607253.
Bugfix candidate.


Index: pymactoolbox.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Include/pymactoolbox.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** pymactoolbox.h	2 Aug 2002 14:11:22 -0000	1.5
--- pymactoolbox.h	10 Sep 2002 12:32:46 -0000	1.6
***************
*** 2,6 ****
  ** pymactoolbox.h - globals defined in mactoolboxglue.c
  */
! 
  #ifdef __cplusplus
  	extern "C" {
--- 2,7 ----
  ** pymactoolbox.h - globals defined in mactoolboxglue.c
  */
! #ifndef Py_PYMACTOOLBOX_H
! #define Py_PYMACTOOLBOX_H
  #ifdef __cplusplus
  	extern "C" {
***************
*** 197,199 ****
--- 198,201 ----
  #ifdef __cplusplus
  	}
+ #endif
  #endif