Skip to content

Commit

Permalink
descr_set_trampoline_call return type should be int not PyObject*
Browse files Browse the repository at this point in the history
  • Loading branch information
hoodmane committed Nov 13, 2022
1 parent 50b0415 commit ca9f87c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Objects/descrobject.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});

Expand Down

0 comments on commit ca9f87c

Please sign in to comment.