[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
- Previous message: [Python-checkins] python/dist/src/Mac/Lib FrameWork.py,1.52,1.53
- Next message: [Python-checkins] python/dist/src/Mac/Include getapplbycreator.h,1.3,1.4 macdefs.h,1.11,1.12 macglue.h,1.61,1.62 pythonresources.h,1.27,1.28
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
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
- Previous message: [Python-checkins] python/dist/src/Mac/Lib FrameWork.py,1.52,1.53
- Next message: [Python-checkins] python/dist/src/Mac/Include getapplbycreator.h,1.3,1.4 macdefs.h,1.11,1.12 macglue.h,1.61,1.62 pythonresources.h,1.27,1.28
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]