gh-99443: descr_set_trampoline_call return type should be int not PyObject* (#99444)

This commit is contained in:
Hood Chatham 2022-11-16 15:20:17 -08:00 committed by GitHub
parent aa8b58cb33
commit bc390dd935
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View 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);
});