gh-131776: Expose functions called from the interpreter loop via PyAPI_FUNC (#134242)

This commit is contained in:
Dino Viehland 2025-09-17 16:04:02 +01:00 committed by GitHub
parent dd15a2e11e
commit 299de38e61
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 54 additions and 32 deletions

View file

@ -8,7 +8,7 @@ extern "C" {
# error "this header requires Py_BUILD_CORE define"
#endif
extern PyObject* _PyFunction_Vectorcall(
PyAPI_FUNC(PyObject *) _PyFunction_Vectorcall(
PyObject *func,
PyObject *const *stack,
size_t nargsf,