diff options
author | Benjamin Peterson <benjamin@python.org> | 2012-02-19 19:59:10 -0500 |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2012-02-19 19:59:10 -0500 |
commit | 8eb1269c346fa860acce9459c0bed065ffccd3ce (patch) | |
tree | 186cdf221973397a4968a4c16d78d3298ff2011b /Include/object.h | |
parent | 4a57846efe1419843a5e1a35a9f098bab6b066c9 (diff) | |
download | cpython-git-8eb1269c346fa860acce9459c0bed065ffccd3ce.tar.gz |
add generic implementation of a __dict__ descriptor for C types
Diffstat (limited to 'Include/object.h')
-rw-r--r-- | Include/object.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Include/object.h b/Include/object.h index 6907a4464c..844ff9f14a 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 *); |