summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-07-10 15:21:55 (GMT)
committerGuido van Rossum <guido@python.org>1998-07-10 15:21:55 (GMT)
commit9223351617793f0674b8410d39ff5437b2a29879 (patch)
treea629f43451c809259405cfef06fac3c38171ea3b /Objects
parenteeb64287f1e735ead3eced61804cca81452cff79 (diff)
downloadcpython-9223351617793f0674b8410d39ff5437b2a29879.zip
cpython-9223351617793f0674b8410d39ff5437b2a29879.tar.gz
cpython-9223351617793f0674b8410d39ff5437b2a29879.tar.bz2
Marc-Andre Lemburg's patch to move the typedef for PyCFunctionObject
to the .h file and add macros there for inlined access to the fields.
Diffstat (limited to 'Objects')
-rw-r--r--Objects/methodobject.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/Objects/methodobject.c b/Objects/methodobject.c
index 529e2a1..672981f 100644
--- a/Objects/methodobject.c
+++ b/Objects/methodobject.c
@@ -35,12 +35,6 @@ PERFORMANCE OF THIS SOFTWARE.
#include "token.h"
-typedef struct {
- PyObject_HEAD
- PyMethodDef *m_ml;
- PyObject *m_self;
-} PyCFunctionObject;
-
static PyCFunctionObject *free_list = NULL;
PyObject *