diff Include/Python.h @ 23950:f7ce696979e1 legacy-trunk

SF 569257 -- Name mangle double underscored variable names in __slots__.
author Raymond Hettinger <python@rcn.com>
date Thu, 20 Jun 2002 22:23:15 +0000
parents 43ddcdcd3c71
children bf3421a28744
line wrap: on
line diff
--- a/Include/Python.h	Thu Jun 20 22:07:04 2002 +0000
+++ b/Include/Python.h	Thu Jun 20 22:23:15 2002 +0000
@@ -119,6 +119,10 @@
 
 #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))