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