We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent04130b2 commit3086b86Copy full SHA for 3086b86
Include/internal/pycore_object.h
@@ -733,13 +733,7 @@ PyAPI_FUNC(PyObject*) _PyObject_GetState(PyObject *);
733
* Third party code unintentionally rely on problematic fpcasts. The call
734
* trampoline mitigates common occurrences of bad fpcasts on Emscripten.
735
*/
736
-#if defined(__EMSCRIPTEN__)&& defined(PY_CALL_TRAMPOLINE)
737
-#define_PyCFunction_TrampolineCall(meth,self,args) \
738
- _PyCFunctionWithKeywords_TrampolineCall( \
739
- (*(PyCFunctionWithKeywords)(void(*)(void))(meth)), (self), (args), NULL)
740
-externPyObject*_PyCFunctionWithKeywords_TrampolineCall(
741
-PyCFunctionWithKeywordsmeth,PyObject*,PyObject*,PyObject*);
742
-#else
+#if !(defined(__EMSCRIPTEN__)&& defined(PY_CALL_TRAMPOLINE))
743
#define_PyCFunction_TrampolineCall(meth,self,args) \
744
(meth)((self), (args))
745
#define_PyCFunctionWithKeywords_TrampolineCall(meth,self,args,kw) \