]> granicus.if.org Git - python/commitdiff
bpo-15695: Add PyAPI_FUNC() to _PyDict_SizeOf() declaration. (#639)
authorSerhiy Storchaka <storchaka@gmail.com>
Sun, 12 Mar 2017 12:15:54 +0000 (14:15 +0200)
committerGitHub <noreply@github.com>
Sun, 12 Mar 2017 12:15:54 +0000 (14:15 +0200)
Include/dictobject.h

index 08a9449925f9cd188827045f8efb963356b650a2..28930f436d70e9fb4c69f8c355a336ec51678ac9 100644 (file)
@@ -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 *);