diff options
-rw-r--r-- | Include/compile.h | 2 | ||||
-rw-r--r-- | Include/unicodeobject.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Include/compile.h b/Include/compile.h index 5ce5b77..bc53b39 100644 --- a/Include/compile.h +++ b/Include/compile.h @@ -31,7 +31,7 @@ typedef struct { struct _mod; /* Declare the existence of this type */ #define PyAST_Compile(mod, s, f, ar) PyAST_CompileEx(mod, s, f, -1, ar) PyAPI_FUNC(PyCodeObject *) PyAST_CompileEx( - mod_ty mod, + struct _mod *mod, const char *filename, /* decoded from the filesystem encoding */ PyCompilerFlags *flags, int optimize, diff --git a/Include/unicodeobject.h b/Include/unicodeobject.h index 1f79efd..4d2a8e4 100644 --- a/Include/unicodeobject.h +++ b/Include/unicodeobject.h @@ -443,7 +443,7 @@ PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( /* Similar to PyUnicode_FromUnicode(), but u points to UTF-8 encoded bytes */ PyAPI_FUNC(PyObject*) PyUnicode_FromStringAndSize( - const char *u /* UTF-8 encoded string */ + const char *u, /* UTF-8 encoded string */ Py_ssize_t size /* size of buffer */ ); |