mirror of
https://github.com/python/cpython.git
synced 2025-10-09 16:34:44 +00:00
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.
This commit is contained in:
parent
eeb64287f1
commit
9223351617
2 changed files with 15 additions and 6 deletions
|
@ -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 *
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue