[Python-checkins] CVS: python/dist/src/Include fileobject.h,2.22,2.23
Mark Hammond
mhammond@users.sourceforge.net
Mon, 14 May 2001 05:17:36 -0700
Update of /cvsroot/python/python/dist/src/Include
In directory usw-pr-cvs1:/tmp/cvs-serv19427/Include
Modified Files:
fileobject.h
Log Message:
Fix the Py_FileSystemDefaultEncoding checkin - declare the variable in a fileobject.h, and initialize it in bltinmodule.
Index: fileobject.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Include/fileobject.h,v
retrieving revision 2.22
retrieving revision 2.23
diff -C2 -r2.22 -r2.23
*** fileobject.h 2000/09/01 23:29:26 2.22
--- fileobject.h 2001/05/14 12:17:34 2.23
***************
*** 24,27 ****
--- 24,32 ----
extern DL_IMPORT(int) PyObject_AsFileDescriptor(PyObject *);
+ /* The default encoding used by the platform file system APIs
+ If non-NULL, this is different than the default encoding for strings
+ */
+ extern DL_IMPORT(const char *) Py_FileSystemDefaultEncoding;
+
#ifdef __cplusplus
}