Skip to content

Commit bbac9a8

Browse files
gh-99443: descr_set_trampoline_call return type should be int not PyObject* (GH-99444)
(cherry picked from commit bc390dd) Co-authored-by: Hood Chatham <[email protected]>
1 parent 0014ce7 commit bbac9a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Objects/descrobject.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class property "propertyobject *" "&PyProperty_Type"
1616
// see pycore_object.h
1717
#if defined(__EMSCRIPTEN__) && defined(PY_CALL_TRAMPOLINE)
1818
#include <emscripten.h>
19-
EM_JS(PyObject*, descr_set_trampoline_call, (setter set, PyObject *obj, PyObject *value, void *closure), {
19+
EM_JS(int, descr_set_trampoline_call, (setter set, PyObject *obj, PyObject *value, void *closure), {
2020
return wasmTable.get(set)(obj, value, closure);
2121
});
2222

0 commit comments

Comments
 (0)