summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2012-02-20 00:59:10 (GMT)
committerBenjamin Peterson <benjamin@python.org>2012-02-20 00:59:10 (GMT)
commit8eb1269c346fa860acce9459c0bed065ffccd3ce (patch)
tree186cdf221973397a4968a4c16d78d3298ff2011b /Include
parent4a57846efe1419843a5e1a35a9f098bab6b066c9 (diff)
downloadcpython-8eb1269c346fa860acce9459c0bed065ffccd3ce.zip
cpython-8eb1269c346fa860acce9459c0bed065ffccd3ce.tar.gz
cpython-8eb1269c346fa860acce9459c0bed065ffccd3ce.tar.bz2
add generic implementation of a __dict__ descriptor for C types
Diffstat (limited to 'Include')
-rw-r--r--Include/object.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Include/object.h b/Include/object.h
index 6907a44..844ff9f 100644
--- a/Include/object.h
+++ b/Include/object.h
@@ -516,6 +516,8 @@ PyAPI_FUNC(PyObject *) _PyObject_NextNotImplemented(PyObject *);
PyAPI_FUNC(PyObject *) PyObject_GenericGetAttr(PyObject *, PyObject *);
PyAPI_FUNC(int) PyObject_GenericSetAttr(PyObject *,
PyObject *, PyObject *);
+PyAPI_FUNC(PyObject *) PyObject_GenericGetDict(PyObject *, void *);
+PyAPI_FUNC(int) PyObject_GenericSetDict(PyObject *, PyObject *, void *);
PyAPI_FUNC(Py_hash_t) PyObject_Hash(PyObject *);
PyAPI_FUNC(Py_hash_t) PyObject_HashNotImplemented(PyObject *);
PyAPI_FUNC(int) PyObject_IsTrue(PyObject *);