From: Yury Selivanov Date: Fri, 28 Oct 2016 22:48:50 +0000 (-0400) Subject: Issue #28544: Fix compilation of _asynciomodule.c on Windows X-Git-Tag: v3.6.0b3~29 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=833c626e6739f7610593e7831166af6d2e064d74;p=python Issue #28544: Fix compilation of _asynciomodule.c on Windows --- diff --git a/Include/dictobject.h b/Include/dictobject.h index f06f2409c8..5cf6db1f08 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 973bdd5f56..1ee4fd5529 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);