summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorYury Selivanov <yury@magic.io>2016-10-28 22:48:50 (GMT)
committerYury Selivanov <yury@magic.io>2016-10-28 22:48:50 (GMT)
commit833c626e6739f7610593e7831166af6d2e064d74 (patch)
tree4b86c6d619ef0c54b4c66a987385e6692a8c99df /Include
parentd14ae161dee43472d1cd3db82dbb0c6368577d62 (diff)
downloadcpython-833c626e6739f7610593e7831166af6d2e064d74.zip
cpython-833c626e6739f7610593e7831166af6d2e064d74.tar.gz
cpython-833c626e6739f7610593e7831166af6d2e064d74.tar.bz2
Issue #28544: Fix compilation of _asynciomodule.c on Windows
Diffstat (limited to 'Include')
-rw-r--r--Include/dictobject.h2
-rw-r--r--Include/genobject.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/Include/dictobject.h b/Include/dictobject.h
index f06f240..5cf6db1 100644
--- a/Include/dictobject.h
+++ b/Include/dictobject.h
@@ -112,7 +112,7 @@ PyAPI_FUNC(void) _PyDict_MaybeUntrack(PyObject *mp);
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
index 973bdd5..1ee4fd5 100644
--- a/Include/genobject.h
+++ b/Include/genobject.h
@@ -42,7 +42,7 @@ PyAPI_FUNC(PyObject *) PyGen_NewWithQualName(struct _frame *,
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);