summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2010-10-17 01:24:53 (GMT)
committerVictor Stinner <victor.stinner@haypocalc.com>2010-10-17 01:24:53 (GMT)
commit49d3f2514b4edcabae3b08286016c98b584bb3a2 (patch)
treebfff7850a9d022e4dc89111399a62ac16ed79d5d /Include
parent3e85dfd15e36b7d890fb70a6c9edf0b1e6bbff6c (diff)
downloadcpython-49d3f2514b4edcabae3b08286016c98b584bb3a2.zip
cpython-49d3f2514b4edcabae3b08286016c98b584bb3a2.tar.gz
cpython-49d3f2514b4edcabae3b08286016c98b584bb3a2.tar.bz2
_PyImport_FixupExtension() and _PyImport_FindExtension() uses FS encoding
* Rename _PyImport_FindExtension() to _PyImport_FindExtensionUnicode(): the filename becomes a Unicode object instead of byte string * Rename _PyImport_FixupExtension() to _PyImport_FixupExtensionUnicode(): the filename becomes a Unicode object instead of byte string
Diffstat (limited to 'Include')
-rw-r--r--Include/import.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/Include/import.h b/Include/import.h
index 3311581..3e81e78 100644
--- a/Include/import.h
+++ b/Include/import.h
@@ -40,8 +40,10 @@ PyAPI_FUNC(int) _PyImport_ReleaseLock(void);
PyAPI_FUNC(void) _PyImport_ReInitLock(void);
-PyAPI_FUNC(PyObject *)_PyImport_FindExtension(char *, char *);
-PyAPI_FUNC(int)_PyImport_FixupExtension(PyObject*, char *, char *);
+PyAPI_FUNC(PyObject *)_PyImport_FindBuiltin(char *);
+PyAPI_FUNC(PyObject *)_PyImport_FindExtensionUnicode(char *, PyObject *);
+PyAPI_FUNC(int)_PyImport_FixupBuiltin(PyObject*, char *);
+PyAPI_FUNC(int)_PyImport_FixupExtensionUnicode(PyObject*, char *, PyObject *);
struct _inittab {
char *name;