summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2017-03-12 12:15:54 (GMT)
committerGitHub <noreply@github.com>2017-03-12 12:15:54 (GMT)
commitbc44f045e6a801903bd7530a4fc5474e657832da (patch)
tree82a406456c4679f321465ea15a6e46a930a90727
parent4125e5c60e24ffcff8031817dc60984335917f59 (diff)
downloadcpython-bc44f045e6a801903bd7530a4fc5474e657832da.zip
cpython-bc44f045e6a801903bd7530a4fc5474e657832da.tar.gz
cpython-bc44f045e6a801903bd7530a4fc5474e657832da.tar.bz2
bpo-15695: Add PyAPI_FUNC() to _PyDict_SizeOf() declaration. (#639)
-rw-r--r--Include/dictobject.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/dictobject.h b/Include/dictobject.h
index 08a9449..28930f4 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 *);