Although I know it's very much WIP, do notice that method_thunk shouldn't return 0
The body should be similar to functor_invoke_thunk
|
unsafe extern "C" fn functor_invoke_thunk( |
*p_value must be either result or Value::error_string
member_function thunk here always returns TRUE
https://gitlab.com/sciter-engine/sciter-js-sdk/-/blob/main/include/sciter-om-def.h?ref_type=heads#L227
Although I know it's very much WIP, do notice that method_thunk shouldn't return 0
rsciter/crates/rsciter/examples/global_asset.rs
Line 101 in b0fe1f4
The body should be similar to functor_invoke_thunk
rsciter/crates/rsciter/src/value.rs
Line 567 in b0fe1f4
*p_value must be either result or Value::error_string
member_function thunk here always returns TRUE
https://gitlab.com/sciter-engine/sciter-js-sdk/-/blob/main/include/sciter-om-def.h?ref_type=heads#L227