[Python-checkins] python/dist/src/Include Python.h,2.51,2.52
rhettinger@users.sourceforge.net
rhettinger@users.sourceforge.net
2002年6月20日 15:23:17 -0700
Update of /cvsroot/python/python/dist/src/Include
In directory usw-pr-cvs1:/tmp/cvs-serv4718/Include
Modified Files:
Python.h
Log Message:
SF 569257 -- Name mangle double underscored variable names in __slots__.
Index: Python.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Include/Python.h,v
retrieving revision 2.51
retrieving revision 2.52
diff -C2 -d -r2.51 -r2.52
*** Python.h 9 Jun 2002 13:33:54 -0000 2.51
--- Python.h 20 Jun 2002 22:23:15 -0000 2.52
***************
*** 120,123 ****
--- 120,127 ----
#include "abstract.h"
+ /* _Py_Mangle is defined in compile.c */
+ extern DL_IMPORT(int) _Py_Mangle(char *p, char *name, \
+ char *buffer, size_t maxlen);
+
/* PyArg_GetInt is deprecated and should not be used, use PyArg_Parse(). */
#define PyArg_GetInt(v, a) PyArg_Parse((v), "i", (a))