]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-99443: `descr_set_trampoline_call` return type should be `int` not `PyObject*...
authorHood Chatham <roberthoodchatham@gmail.com>
Wed, 16 Nov 2022 23:20:17 +0000 (15:20 -0800)
committerGitHub <noreply@github.com>
Wed, 16 Nov 2022 23:20:17 +0000 (15:20 -0800)
Objects/descrobject.c

index 550bfb36df0f66b101c2ea96b37fbd7a9ee1846c..cc204931c3fe3dd7a3c0dd19cc6f6573c1707d55 100644 (file)
@@ -17,7 +17,7 @@ class property "propertyobject *" "&PyProperty_Type"
 // see pycore_object.h
 #if defined(__EMSCRIPTEN__) && defined(PY_CALL_TRAMPOLINE)
 #include <emscripten.h>
-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);
 });