Skip to content

Commit 057c9f1

Browse files
DinoVmeta-codesync[bot]
authored andcommitted
Use Ci_PyFunction_Vectorcall when including specializer
Summary: This is just prepping CinderX for the next diff where we'll need _PyFunction_Vectorcall. Reviewed By: alexmalyshev Differential Revision: D83786159 fbshipit-source-id: 74004e557bb77c9823546e0a9217fee957f44325
1 parent 1ab112f commit 057c9f1

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

cinderx/UpstreamBorrow/borrowed-3.14.c.template

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -420,6 +420,7 @@ void _PyErr_SetObject(PyThreadState* tstate, PyObject* type, PyObject* value) {
420420
// @Borrow function _Py_dict_lookup from Objects/dictobject.c [3.14]
421421
// @Borrow function _PyDict_LookupIndex from Objects/dictobject.c [3.14]
422422

423+
#define _PyFunction_Vectorcall Ci_PyFunction_Vectorcall
423424
// @Borrow CPP directives noinclude from Python/specialize.c
424425
// @Borrow typedef DescriptorClassification from Python/specialize.c [3.14]
425426
// @Borrow function set_opcode from Python/specialize.c [3.14]

0 commit comments

Comments
 (0)