mirror of
https://github.com/python/cpython
synced 2026-10-23 07:34:49 +03:00
Add a new C extension "_testlimitedcapi" which is only built with the limited C API. Move heaptype_relative.c and vectorcall_limited.c from Modules/_testcapi/ to Modules/_testlimitedcapi/. * configure: add _testlimitedcapi test extension. * Update generate_stdlib_module_names.py. * Update make check-c-globals. Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
20 lines
758 B
C
Generated
20 lines
758 B
C
Generated
/*[clinic input]
|
|
preserve
|
|
[clinic start generated code]*/
|
|
|
|
PyDoc_STRVAR(_testlimitedcapi_call_vectorcall__doc__,
|
|
"call_vectorcall($module, callable, /)\n"
|
|
"--\n"
|
|
"\n");
|
|
|
|
#define _TESTLIMITEDCAPI_CALL_VECTORCALL_METHODDEF \
|
|
{"call_vectorcall", (PyCFunction)_testlimitedcapi_call_vectorcall, METH_O, _testlimitedcapi_call_vectorcall__doc__},
|
|
|
|
PyDoc_STRVAR(_testlimitedcapi_call_vectorcall_method__doc__,
|
|
"call_vectorcall_method($module, callable, /)\n"
|
|
"--\n"
|
|
"\n");
|
|
|
|
#define _TESTLIMITEDCAPI_CALL_VECTORCALL_METHOD_METHODDEF \
|
|
{"call_vectorcall_method", (PyCFunction)_testlimitedcapi_call_vectorcall_method, METH_O, _testlimitedcapi_call_vectorcall_method__doc__},
|
|
/*[clinic end generated code: output=5976b9b360e1ff30 input=a9049054013a1b77]*/
|