From 33ceda85d02df2d21820645d5c2a62117faa2759 Mon Sep 17 00:00:00 2001 From: Thomas Heller Date: Thu, 24 Mar 2005 07:45:53 +0000 Subject: Function signatures for tp_descr_get and tp_descr_set. --- Doc/api/newtypes.tex | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/Doc/api/newtypes.tex b/Doc/api/newtypes.tex index b8b2f7c..f78066c 100644 --- a/Doc/api/newtypes.tex +++ b/Doc/api/newtypes.tex @@ -1106,6 +1106,13 @@ typedef struct PyGetSetDef { \begin{cmemberdesc}{PyTypeObject}{descrgetfunc}{tp_descr_get} An optional pointer to a "descriptor get" function. + + The function signature is + +\begin{verbatim} +PyObject * tp_descr_get(PyObject *self, PyObject *obj, PyObject *type); +\end{verbatim} + XXX blah, blah. This field is inherited by subtypes. @@ -1114,9 +1121,16 @@ typedef struct PyGetSetDef { \begin{cmemberdesc}{PyTypeObject}{descrsetfunc}{tp_descr_set} An optional pointer to a "descriptor set" function. - XXX blah, blah. + The function signature is + +\begin{verbatim} +int tp_descr_set(PyObject *self, PyObject *obj, PyObject *value); +\end{verbatim} This field is inherited by subtypes. + + XXX blah, blah. + \end{cmemberdesc} \begin{cmemberdesc}{PyTypeObject}{long}{tp_dictoffset} -- cgit v0.12