diff options
author | Guido van Rossum <guido@python.org> | 1998-07-10 15:21:55 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1998-07-10 15:21:55 (GMT) |
commit | 9223351617793f0674b8410d39ff5437b2a29879 (patch) | |
tree | a629f43451c809259405cfef06fac3c38171ea3b /Objects/methodobject.c | |
parent | eeb64287f1e735ead3eced61804cca81452cff79 (diff) | |
download | cpython-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/methodobject.c')
-rw-r--r-- | Objects/methodobject.c | 6 |
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 * |