From 8eb1269c346fa860acce9459c0bed065ffccd3ce Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Sun, 19 Feb 2012 19:59:10 -0500 Subject: add generic implementation of a __dict__ descriptor for C types --- Include/object.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Include/object.h') 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 *); -- cgit v1.2.1