diff Include/Python.h @ 63985:953010c0b168

Issue #9425: Create private _Py_stat() function Use stat() or _wstat() depending on the OS.
author Victor Stinner <victor.stinner@haypocalc.com>
date Sat, 14 Aug 2010 14:50:26 +0000
parents 7be5916333df
children d360311f0e52
line wrap: on
line diff
--- a/Include/Python.h	Sat Aug 14 13:43:37 2010 +0000
+++ b/Include/Python.h	Sat Aug 14 14:50:26 2010 +0000
@@ -135,6 +135,11 @@
 PyAPI_FUNC(char*) _Py_wchar2char(const wchar_t *text);
 PyAPI_FUNC(FILE *) _Py_wfopen(const wchar_t *path, const wchar_t *mode);
 
+/* _Py_stat lives in import.c */
+#ifdef HAVE_STAT
+int _Py_stat(PyObject *unicode, struct stat *statbuf);
+#endif
+
 #ifdef __cplusplus
 }
 #endif