summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2010-08-13 22:25:01 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2010-08-13 22:25:01 (GMT)
commite9b428f9977f8733e6b0d2c321c093779f95080f (patch)
tree2583b8f93efed20d9d849cbd1b001e4282e32f00 /Include
parent09c449c7de0fea077ceaee5cb04017d6994341e7 (diff)
downloadcpython-e9b428f9977f8733e6b0d2c321c093779f95080f.zip
cpython-e9b428f9977f8733e6b0d2c321c093779f95080f.tar.gz
cpython-e9b428f9977f8733e6b0d2c321c093779f95080f.tar.bz2
Reimplement addbuilddir() in C inside getpath.c, so as to execute it
at interpreter startup before importing any non-builtin modules. Should fix #9589.
Diffstat (limited to 'Include')
-rw-r--r--Include/Python.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Include/Python.h b/Include/Python.h
index 6fbc49c..1def75b 100644
--- a/Include/Python.h
+++ b/Include/Python.h
@@ -129,8 +129,9 @@ extern "C" {
/* _Py_Mangle is defined in compile.c */
PyAPI_FUNC(PyObject*) _Py_Mangle(PyObject *p, PyObject *name);
-/* _Py_char2wchar lives in main.c */
+/* These functions live in main.c */
PyAPI_FUNC(wchar_t *) _Py_char2wchar(char *);
+PyAPI_FUNC(FILE *) _Py_wfopen(const wchar_t *path, const wchar_t *mode);
#ifdef __cplusplus
}
#endif