summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHood Chatham <roberthoodchatham@gmail.com>2022-11-16 23:20:17 (GMT)
committerGitHub <noreply@github.com>2022-11-16 23:20:17 (GMT)
commitbc390dd93574c3c6773958c6a7e68adc83d0bf3f (patch)
tree0140e9d268ea3b588c63cede88a576621466b5a0
parentaa8b58cb33826bd2b1a1de631ebcd6a5353eecb5 (diff)
downloadcpython-bc390dd93574c3c6773958c6a7e68adc83d0bf3f.zip
cpython-bc390dd93574c3c6773958c6a7e68adc83d0bf3f.tar.gz
cpython-bc390dd93574c3c6773958c6a7e68adc83d0bf3f.tar.bz2
gh-99443: `descr_set_trampoline_call` return type should be `int` not `PyObject*` (#99444)
-rw-r--r--Objects/descrobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/descrobject.c b/Objects/descrobject.c
index 550bfb3..cc20493 100644
--- a/Objects/descrobject.c
+++ b/Objects/descrobject.c
@@ -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);
});