From 833c626e6739f7610593e7831166af6d2e064d74 Mon Sep 17 00:00:00 2001 From: Yury Selivanov Date: Fri, 28 Oct 2016 18:48:50 -0400 Subject: Issue #28544: Fix compilation of _asynciomodule.c on Windows --- 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 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); -- cgit v0.12