From: Serhiy Storchaka Date: Sun, 12 Mar 2017 12:15:54 +0000 (+0200) Subject: bpo-15695: Add PyAPI_FUNC() to _PyDict_SizeOf() declaration. (#639) X-Git-Tag: v3.7.0a1~1137 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bc44f045e6a801903bd7530a4fc5474e657832da;p=python bpo-15695: Add PyAPI_FUNC() to _PyDict_SizeOf() declaration. (#639) --- diff --git a/Include/dictobject.h b/Include/dictobject.h index 08a9449925..28930f436d 100644 --- a/Include/dictobject.h +++ b/Include/dictobject.h @@ -115,7 +115,7 @@ PyAPI_FUNC(PyObject *) _PyDict_NewPresized(Py_ssize_t minused); 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 *); +PyAPI_FUNC(Py_ssize_t) _PyDict_SizeOf(PyDictObject *); PyAPI_FUNC(PyObject *) _PyDict_Pop(PyObject *, PyObject *, PyObject *); PyObject *_PyDict_Pop_KnownHash(PyObject *, PyObject *, Py_hash_t, PyObject *); PyObject *_PyDict_FromKeys(PyObject *, PyObject *, PyObject *);