[Python-checkins] python/dist/src/Include pymactoolbox.h,1.4,1.4.8.1
nnorwitz@users.sourceforge.net
nnorwitz@users.sourceforge.net
Wed, 25 Sep 2002 14:40:22 -0700
Update of /cvsroot/python/python/dist/src/Include
In directory usw-pr-cvs1:/tmp/cvs-serv22686/Include
Modified Files:
Tag: release22-maint
pymactoolbox.h
Log Message:
Backport revision 1.6 by jackjansen;
Added include guards and C++ extern "C" {} constructs. Partial fix for #607253.
Index: pymactoolbox.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Include/pymactoolbox.h,v
retrieving revision 1.4
retrieving revision 1.4.8.1
diff -C2 -d -r1.4 -r1.4.8.1
*** pymactoolbox.h 5 Nov 2001 14:39:22 -0000 1.4
--- pymactoolbox.h 25 Sep 2002 21:40:17 -0000 1.4.8.1
***************
*** 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" {
***************
*** 195,197 ****
--- 196,199 ----
#ifdef __cplusplus
}
+ #endif
#endif