Skip to content

Commit

Permalink
pythongh-99443: descr_set_trampoline_call return type should be `in…
Browse files Browse the repository at this point in the history
…t` not `PyObject*` (python#99444)
  • Loading branch information
hoodmane authored Nov 16, 2022
1 parent aa8b58c commit bc390dd
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 bc390dd

Please sign in to comment.