We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
For example, on line winapi.c:2080 lcb_call(parms,-1,0,REF_IDX); // pass it a new File reference
lcb_call(parms,-1,0,REF_IDX); // pass it a new File reference
In wutils.c:119 BOOL call_lua_direct(lua_State *L, Ref ref, int idx, const char *text, int flags) { if (flags & REF_IDX) lua_pushvalue(L,idx);
BOOL call_lua_direct(lua_State *L, Ref ref, int idx, const char *text, int flags) {
if (flags & REF_IDX)
lua_pushvalue(L,idx);
idx == -1, but push_ref(L,ref) pushes the function to the top of the stack, making lua_pushvalue(L,idx) incorrect.
The text was updated successfully, but these errors were encountered:
Potential solution to account for the off by one error for negative indicies: lua_pushvalue(L,idx < 0 ? --idx : idx)
lua_pushvalue(L,idx < 0 ? --idx : idx)
Sorry, something went wrong.
No branches or pull requests
For example, on line winapi.c:2080
lcb_call(parms,-1,0,REF_IDX); // pass it a new File reference
In wutils.c:119
BOOL call_lua_direct(lua_State *L, Ref ref, int idx, const char *text, int flags) {
if (flags & REF_IDX)
lua_pushvalue(L,idx);
idx == -1, but push_ref(L,ref) pushes the function to the top of the stack, making lua_pushvalue(L,idx) incorrect.
The text was updated successfully, but these errors were encountered: