@@ -17,7 +17,7 @@ PyAPI_DATA(PyTypeObject) PyCFunction_Type;
1717
1818typedef PyObject * (* PyCFunction )(PyObject * , PyObject * );
1919typedef PyObject * (* PyCFunctionWithKeywords )(PyObject * , PyObject * ,
20- PyObject * );
20+ PyObject * );
2121typedef PyObject * (* PyNoArgsFunction )(PyObject * );
2222
2323PyAPI_FUNC (PyCFunction ) PyCFunction_GetFunction (PyObject * );
@@ -33,22 +33,22 @@ PyAPI_FUNC(int) PyCFunction_GetFlags(PyObject *);
3333 (((PyCFunctionObject *)func) -> m_ml -> ml_flags & METH_STATIC ? \
3434 NULL : ((PyCFunctionObject *)func) -> m_self)
3535#define PyCFunction_GET_FLAGS (func ) \
36- (((PyCFunctionObject *)func) -> m_ml -> ml_flags)
36+ (((PyCFunctionObject *)func) -> m_ml -> ml_flags)
3737#endif
3838PyAPI_FUNC (PyObject * ) PyCFunction_Call (PyObject * , PyObject * , PyObject * );
3939
4040struct PyMethodDef {
41- const char * ml_name ; /* The name of the built-in function/method */
42- PyCFunction ml_meth ; /* The C function that implements it */
43- int ml_flags ; /* Combination of METH_xxx flags, which mostly
44- describe the args expected by the C func */
45- const char * ml_doc ; /* The __doc__ attribute, or NULL */
41+ const char * ml_name ; /* The name of the built-in function/method */
42+ PyCFunction ml_meth ; /* The C function that implements it */
43+ int ml_flags ; /* Combination of METH_xxx flags, which mostly
44+ describe the args expected by the C func */
45+ const char * ml_doc ; /* The __doc__ attribute, or NULL */
4646};
4747typedef struct PyMethodDef PyMethodDef ;
4848
4949#define PyCFunction_New (ML , SELF ) PyCFunction_NewEx((ML), (SELF), NULL)
5050PyAPI_FUNC (PyObject * ) PyCFunction_NewEx (PyMethodDef * , PyObject * ,
51- PyObject * );
51+ PyObject * );
5252
5353/* Flag passed to newmethodobject */
5454/* #define METH_OLDARGS 0x0000 -- unsupported now */
0 commit comments