From bc44f045e6a801903bd7530a4fc5474e657832da Mon Sep 17 00:00:00 2001 From: Serhiy Storchaka Date: Sun, 12 Mar 2017 14:15:54 +0200 Subject: [PATCH] bpo-15695: Add PyAPI_FUNC() to _PyDict_SizeOf() declaration. (#639) --- Include/dictobject.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Include/dictobject.h b/Include/dictobject.h index 08a9449925f..28930f436d7 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 *);