#include "pyconfig.h"
#if !defined(Py_GIL_DISABLED) && !defined(Py_LIMITED_API)
#define Py_LIMITED_API …
#endif
#include <stddef.h>
#include "parts.h"
#include "clinic/vectorcall_limited.c.h"
static PyObject *
LimitedVectorCallClass_tpcall(PyObject *self, PyObject *args, PyObject *kwargs) { … }
static PyObject *
LimitedVectorCallClass_vectorcall(PyObject *callable,
PyObject *const *args,
size_t nargsf,
PyObject *kwnames) { … }
static PyObject *
LimitedVectorCallClass_new(PyTypeObject *tp, PyTypeObject *a, PyTypeObject *kw)
{ … }
static PyObject *
_testlimitedcapi_call_vectorcall(PyObject *module, PyObject *callable)
{ … }
static PyObject *
_testlimitedcapi_call_vectorcall_method(PyObject *module, PyObject *callable)
{ … }
static PyMemberDef LimitedVectorCallClass_members[] = …;
static PyType_Slot LimitedVectorallClass_slots[] = …;
static PyType_Spec LimitedVectorCallClass_spec = …;
LimitedRelativeVectorCallStruct;
static PyObject *
LimitedRelativeVectorCallClass_new(PyTypeObject *tp, PyTypeObject *a, PyTypeObject *kw)
{ … }
static PyType_Spec LimitedRelativeVectorCallClass_spec = …;
static PyMethodDef TestMethods[] = …;
int
_PyTestLimitedCAPI_Init_VectorcallLimited(PyObject *m)
{ … }