[Python-checkins] cpython (3.6): Issue #28544: Fix compilation of _asynciomodule.c on Windows
yury.selivanov
python-checkins at python.org
Fri Oct 28 18:49:14 EDT 2016
https://hg.python.org/cpython/rev/635f5854cb3e
changeset: 104782:635f5854cb3e
branch: 3.6
parent: 104780:d28bf161c8a3
user: Yury Selivanov <yury at magic.io>
date: Fri Oct 28 18:48:50 2016 -0400
summary:
Issue #28544: Fix compilation of _asynciomodule.c on Windows
files:
Include/dictobject.h | 2 +-
Include/genobject.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Include/dictobject.h b/Include/dictobject.h
--- a/Include/dictobject.h
+++ b/Include/dictobject.h
@@ -112,7 +112,7 @@
PyAPI_FUNC(int) _PyDict_HasOnlyStringKeys(PyObject *mp);
Py_ssize_t _PyDict_KeysSize(PyDictKeysObject *keys);
Py_ssize_t _PyDict_SizeOf(PyDictObject *);
-PyObject *_PyDict_Pop(PyDictObject *, PyObject *, PyObject *);
+PyAPI_FUNC(PyObject *) _PyDict_Pop(PyDictObject *, PyObject *, PyObject *);
PyObject *_PyDict_FromKeys(PyObject *, PyObject *, PyObject *);
#define _PyDict_HasSplitTable(d) ((d)->ma_values != NULL)
diff --git a/Include/genobject.h b/Include/genobject.h
--- a/Include/genobject.h
+++ b/Include/genobject.h
@@ -42,7 +42,7 @@
PyObject *name, PyObject *qualname);
PyAPI_FUNC(int) PyGen_NeedsFinalizing(PyGenObject *);
PyAPI_FUNC(int) _PyGen_FetchStopIterationValue(PyObject **);
-PyObject *_PyGen_Send(PyGenObject *, PyObject *);
+PyAPI_FUNC(PyObject *) _PyGen_Send(PyGenObject *, PyObject *);
PyObject *_PyGen_yf(PyGenObject *);
PyAPI_FUNC(void) _PyGen_Finalize(PyObject *self);
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list