-
Notifications
You must be signed in to change notification settings - Fork 591
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't pass LUA_USE_APICHECK #2406
Comments
for the 2nd problem, we are calling lua functions from |
edo9300
added a commit
to edo9300/ygopro-core
that referenced
this issue
Dec 12, 2021
fixed by Fluorohydride/ygopro-core#582 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Build lua with
LUA_USE_APICHECK
, it will fail onapi_check(L, idx != 0 && -idx <= L->top - (ci->func + 1), "invalid index");
when calling
*yield_value = lua_isboolean(rthread, -1) ...
ininterpreter::call_coroutine
and fail on
api_check(L, L->status == LUA_OK, "cannot do calls on non-normal thread");
when calling
lua_pcall(current_state, param_count, ret_count, 0)
ininterpreter::call_function
It happen in both lua 5.3 and 5.4.
The text was updated successfully, but these errors were encountered: