From e9b428f9977f8733e6b0d2c321c093779f95080f Mon Sep 17 00:00:00 2001 From: Antoine Pitrou Date: Fri, 13 Aug 2010 22:25:01 +0000 Subject: Reimplement addbuilddir() in C inside getpath.c, so as to execute it at interpreter startup before importing any non-builtin modules. Should fix #9589. --- Include/Python.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Include/Python.h') diff --git a/Include/Python.h b/Include/Python.h index 6fbc49c363..1def75bbb9 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 -- cgit v1.2.1