Skip to content

Commit

Permalink
gh-99443: descr_set_trampoline_call return type should be int not…
Browse files Browse the repository at this point in the history
… `PyObject*` (GH-99444)

(cherry picked from commit bc390dd)

Co-authored-by: Hood Chatham <roberthoodchatham@gmail.com>
  • Loading branch information
miss-islington and hoodmane committed Nov 16, 2022
1 parent 0014ce7 commit bbac9a8
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 @@ -16,7 +16,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 bbac9a8

Please sign in to comment.