From: Hood Chatham Date: Wed, 16 Nov 2022 23:20:17 +0000 (-0800) Subject: gh-99443: `descr_set_trampoline_call` return type should be `int` not `PyObject*... X-Git-Tag: v3.12.0a3~172 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bc390dd93574c3c6773958c6a7e68adc83d0bf3f;p=thirdparty%2FPython%2Fcpython.git gh-99443: `descr_set_trampoline_call` return type should be `int` not `PyObject*` (#99444) --- diff --git a/Objects/descrobject.c b/Objects/descrobject.c index 550bfb36df0f..cc204931c3fe 100644 --- a/Objects/descrobject.c +++ b/Objects/descrobject.c @@ -17,7 +17,7 @@ class property "propertyobject *" "&PyProperty_Type" // see pycore_object.h #if defined(__EMSCRIPTEN__) && defined(PY_CALL_TRAMPOLINE) #include -EM_JS(PyObject*, descr_set_trampoline_call, (setter set, PyObject *obj, PyObject *value, void *closure), { +EM_JS(int, descr_set_trampoline_call, (setter set, PyObject *obj, PyObject *value, void *closure), { return wasmTable.get(set)(obj, value, closure); });