diff Include/Python.h @ 63961:4742e7aea2f5

Reimplement addbuilddir() in C inside getpath.c, so as to execute it at interpreter startup before importing any non-builtin modules. Should fix #9589.
author Antoine Pitrou <solipsis@pitrou.net>
date Fri, 13 Aug 2010 22:25:01 +0000
parents c16803bbd790
children 7be5916333df
line wrap: on
line diff
--- a/Include/Python.h	Fri Aug 13 22:23:24 2010 +0000
+++ b/Include/Python.h	Fri Aug 13 22:25:01 2010 +0000
@@ -129,8 +129,9 @@
 /* _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