[Python-checkins] CVS: python/dist/src/Include modsupport.h,2.35,2.36

Fred L. Drake fdrake@users.sourceforge.net
Thu, 25 Jan 2001 14:13:36 -0800


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

Modified Files:
	modsupport.h 
Log Message:

The addition of new parameters to functions in the Python/C API requires
that PYTHON_API_VERSION be incremented.


Index: modsupport.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Include/modsupport.h,v
retrieving revision 2.35
retrieving revision 2.36
diff -C2 -r2.35 -r2.36
*** modsupport.h	2000/09/23 03:24:27	2.35
--- modsupport.h	2001/01/25 22:13:34	2.36
***************
*** 23,28 ****
  extern DL_IMPORT(int) PyModule_AddStringConstant(PyObject *, char *, char *);
  
! #define PYTHON_API_VERSION 1009
! #define PYTHON_API_STRING "1009"
  /* The API version is maintained (independently from the Python version)
     so we can detect mismatches between the interpreter and dynamically
--- 23,28 ----
  extern DL_IMPORT(int) PyModule_AddStringConstant(PyObject *, char *, char *);
  
! #define PYTHON_API_VERSION 1010
! #define PYTHON_API_STRING "1010"
  /* The API version is maintained (independently from the Python version)
     so we can detect mismatches between the interpreter and dynamically
***************
*** 37,40 ****
--- 37,43 ----
     Please add a line or two to the top of this log for each API
     version change:
+ 
+    25-Jan-2001  FLD     1010    Parameters added to PyCode_New() and
+                                 PyFrame_New(); Python 2.1a2
  
     14-Mar-2000  GvR     1009    Unicode API added