[Python-checkins] CVS: python/dist/src/Include boolobject.h,1.1,1.2

Mark Hammond mhammond@users.sourceforge.net
Fri, 05 Apr 2002 19:58:44 -0800


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

Modified Files:
	boolobject.h 
Log Message:
Add standard header preamble and footer, a-la intobject.h.  Main purpose is extern "C" for C++ programs.

Index: boolobject.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Include/boolobject.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** boolobject.h	3 Apr 2002 23:01:45 -0000	1.1
--- boolobject.h	6 Apr 2002 03:58:41 -0000	1.2
***************
*** 1,4 ****
--- 1,11 ----
  /* Boolean object interface */
  
+ #ifndef Py_BOOLOBJECT_H
+ #define Py_BOOLOBJECT_H
+ #ifdef __cplusplus
+ extern "C" {
+ #endif
+ 
+ 
  typedef PyIntObject PyBoolObject;
  
***************
*** 19,20 ****
--- 26,32 ----
  /* Function to return a bool from a C long */
  PyObject *PyBool_FromLong(long);
+ 
+ #ifdef __cplusplus
+ }
+ #endif
+ #endif /* !Py_BOOLOBJECT_H */