cpython (2.7): fix missing variable declarations
http://hg.python.org/cpython/rev/206129719e7c changeset: 68994:206129719e7c branch: 2.7 user: Benjamin Peterson <benjamin@python.org> date: Sat Mar 26 18:09:55 2011 -0500 summary: fix missing variable declarations files: Modules/_ctypes/_ctypes.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/Modules/_ctypes/_ctypes.c b/Modules/_ctypes/_ctypes.c --- a/Modules/_ctypes/_ctypes.c +++ b/Modules/_ctypes/_ctypes.c @@ -1499,6 +1499,7 @@ c_wchar_p_from_param(PyObject *type, PyObject *value) { PyObject *as_parameter; + int res; #if (PYTHON_API_VERSION < 1012) # error not supported #endif @@ -1566,6 +1567,7 @@ c_char_p_from_param(PyObject *type, PyObject *value) { PyObject *as_parameter; + int res; #if (PYTHON_API_VERSION < 1012) # error not supported #endif @@ -1634,6 +1636,7 @@ { StgDictObject *stgd; PyObject *as_parameter; + int res; #if (PYTHON_API_VERSION < 1012) # error not supported #endif -- Repository URL: http://hg.python.org/cpython
participants (1)
-
benjamin.peterson