Skip to content

Commit

Permalink
Use PyObject_VectorcallDict if _PyObject_FastCallDict is not available
Browse files Browse the repository at this point in the history
  • Loading branch information
aperez authored and int19h committed Apr 12, 2023
1 parent 2f3e0bb commit e30c40f
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,8 @@ int InternalSetSysTraceFunc(
DEFINE_PROC(pyEval_CallObjectWithKeywords, PyEval_CallObjectWithKeywords*, "PyEval_CallObjectWithKeywords", 532);

if(pyObject_FastCallDict == nullptr) {
DEFINE_PROC_NO_CHECK(pyObject_FastCallDict, _PyObject_FastCallDict*, "PyObject_VectorcallDict", 533);
DEFINE_PROC_NO_CHECK(pyObject_VectorcallDict, _PyObject_FastCallDict*, "PyObject_VectorcallDict", 533);
pyObject_FastCallDict = pyObject_VectorcallDict;
}

if(pyObject_FastCallDict == nullptr) {
Expand Down

0 comments on commit e30c40f

Please sign in to comment.