Issue #27810: Exclude METH_FASTCALL from the stable API
This commit is contained in:
parent
dde4f63a54
commit
137f39ac90
|
@ -85,9 +85,9 @@ PyAPI_FUNC(PyObject *) PyCFunction_NewEx(PyMethodDef *, PyObject *,
|
||||||
|
|
||||||
#define METH_COEXIST 0x0040
|
#define METH_COEXIST 0x0040
|
||||||
|
|
||||||
|
#ifndef Py_LIMITED_API
|
||||||
#define METH_FASTCALL 0x0080
|
#define METH_FASTCALL 0x0080
|
||||||
|
|
||||||
#ifndef Py_LIMITED_API
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
PyObject_HEAD
|
PyObject_HEAD
|
||||||
PyMethodDef *m_ml; /* Description of the C function to call */
|
PyMethodDef *m_ml; /* Description of the C function to call */
|
||||||
|
|
Loading…
Reference in New Issue