[Python-checkins] cpython: Issue #27810: Fix getargs.c compilation on Windows

victor.stinner python-checkins at python.org
Fri Sep 9 23:57:24 EDT 2016


https://hg.python.org/cpython/rev/3934e070c9db
changeset:   103546:3934e070c9db
user:        Victor Stinner <victor.stinner at gmail.com>
date:        Fri Sep 09 20:56:52 2016 -0700
summary:
  Issue #27810: Fix getargs.c compilation on Windows

files:
  Python/getargs.c |  3 ++-
  1 files changed, 2 insertions(+), 1 deletions(-)


diff --git a/Python/getargs.c b/Python/getargs.c
--- a/Python/getargs.c
+++ b/Python/getargs.c
@@ -35,11 +35,12 @@
 PyAPI_FUNC(int) _PyArg_VaParse_SizeT(PyObject *, const char *, va_list);
 PyAPI_FUNC(int) _PyArg_VaParseTupleAndKeywords_SizeT(PyObject *, PyObject *,
                                               const char *, char **, va_list);
-
 PyAPI_FUNC(int) _PyArg_ParseTupleAndKeywordsFast_SizeT(PyObject *, PyObject *,
                                             struct _PyArg_Parser *, ...);
 PyAPI_FUNC(int) _PyArg_VaParseTupleAndKeywordsFast_SizeT(PyObject *, PyObject *,
                                             struct _PyArg_Parser *, va_list);
+PyAPI_FUNC(int) _PyArg_ParseStack_SizeT(PyObject **args, Py_ssize_t nargs,
+                        PyObject *kwnames, struct _PyArg_Parser *parser, ...);
 #endif
 
 #define FLAG_COMPAT 1

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list