Closed
Description
not crash the game but, when i use lua_getglobal(L, "native_callback_draw
) without calling crash!
f=function()end;native_callback_init=f;native_callback_loop=f;function native_callback_draw()native_draw_rect(0,1,1,9,20)end
its loaded by luaL_loadbuffer #1, but when i call lua_pcall(L, 0, 0, 0)
crash the game.
function native_callback_init(g,w,h)end
function native_callback_loop(d)end
function native_callback_draw()native_draw_rect(0,1,1,9,20)end
Could this be a stackoverflow? It's been difficult to run basic things in lua.
Metadata
Metadata
Assignees
Labels
No labels