mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +00:00
gh-99443: descr_set_trampoline_call return type should be int not PyObject* (#99444)
This commit is contained in:
parent
aa8b58cb33
commit
bc390dd935
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue