diff options
| author | Hood Chatham <roberthoodchatham@gmail.com> | 2022-11-16 15:20:17 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-11-16 15:20:17 -0800 |
| commit | bc390dd93574c3c6773958c6a7e68adc83d0bf3f (patch) | |
| tree | 0140e9d268ea3b588c63cede88a576621466b5a0 /Objects | |
| parent | aa8b58cb33826bd2b1a1de631ebcd6a5353eecb5 (diff) | |
| download | cpython-git-bc390dd93574c3c6773958c6a7e68adc83d0bf3f.tar.gz | |
gh-99443: `descr_set_trampoline_call` return type should be `int` not `PyObject*` (#99444)
Diffstat (limited to 'Objects')
| -rw-r--r-- | Objects/descrobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/descrobject.c b/Objects/descrobject.c index 550bfb36df..cc204931c3 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); }); |
