From: Guido van Rossum Date: Sat, 7 Jan 1995 10:32:04 +0000 (+0000) Subject: new tp_str and tp_doc members in type object X-Git-Tag: v1.2b1~71 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6fde390655c4d9ff3730ee0ff02187476557bc3a;p=thirdparty%2FPython%2Fcpython.git new tp_str and tp_doc members in type object --- diff --git a/Include/object.h b/Include/object.h index 433876feaf7e..58e2d15d88ea 100644 --- a/Include/object.h +++ b/Include/object.h @@ -218,6 +218,16 @@ typedef struct _typeobject { hashfunc tp_hash; binaryfunc tp_call; + reprfunc tp_str; + + /* Space for future expansion */ + long tp_xxx1; + long tp_xxx2; + long tp_xxx3; + long tp_xxx4; + + char *tp_doc; /* Documentation string */ + #ifdef COUNT_ALLOCS /* these must be last */ int tp_alloc;