Skip to content

Commit

Permalink
Move Ci_StaticFunction_Vectorcall and Ci_PyFunction_CallStatic to int…
Browse files Browse the repository at this point in the history
…erpreter.h

Summary: These aren't defined in the CPython runtime, they're our functions in our interpreter loop. We still need stubs for 3.12 but that's a different issue.

Reviewed By: alexmalyshev

Differential Revision: D60486929

fbshipit-source-id: b4eb22acd68c1998063711453cd61499f0144638
  • Loading branch information
jbower-fb authored and facebook-github-bot committed Aug 1, 2024
1 parent 0c4a2de commit be270be
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions Include/cinder/vectorcall.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,3 @@
/* Same as PyVectorcall_Call but allows passing extra flags to function being called */
CiAPI_FUNC(PyObject *) Ci_PyVectorcall_Call_WithFlags(
PyObject *callable, PyObject *tuple, PyObject *kwargs, size_t flags);


CiAPI_FUNC(PyObject *)
Ci_StaticFunction_Vectorcall(PyObject *func, PyObject* const* stack,
size_t nargsf, PyObject *kwnames);

CiAPI_FUNC(PyObject *)
Ci_PyFunction_CallStatic(PyFunctionObject *func,
PyObject* const* args,
Py_ssize_t nargsf,
PyObject *kwnames);

0 comments on commit be270be

Please sign in to comment.