summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2002-06-20 22:23:15 (GMT)
committerRaymond Hettinger <python@rcn.com>2002-06-20 22:23:15 (GMT)
commit0ae0c076615934ed237b412464b49b58c60c0644 (patch)
tree207ecdd2c40c541dfaffb657a7e9b16d6bada6e1 /Include
parent1d1e1dba12d48d6d93b09e4bd140962b4c110dfb (diff)
downloadcpython-0ae0c076615934ed237b412464b49b58c60c0644.zip
cpython-0ae0c076615934ed237b412464b49b58c60c0644.tar.gz
cpython-0ae0c076615934ed237b412464b49b58c60c0644.tar.bz2
SF 569257 -- Name mangle double underscored variable names in __slots__.
Diffstat (limited to 'Include')
-rw-r--r--Include/Python.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Include/Python.h b/Include/Python.h
index 548ac75..ff21ad1 100644
--- a/Include/Python.h
+++ b/Include/Python.h
@@ -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))