Oops, sorry you're right. There was a luaL_openlibs, converted incorrectly.
PR updated to put that back:
--- a/geanylua/glspi_run.c
+++ b/geanylua/glspi_run.c
@@ -246,7 +246,7 @@ static lua_State *glspi_state_new(void)
{
lua_State *L = luaL_newstate();
StateInfo*si=g_new0(StateInfo,1);
- luaL_register(L, NULL, NULL);
+ luaL_openlibs(L);
si->state=L;
si->timer=g_timer_new();
si->max=DEFAULT_MAX_EXEC_TIME;
This does now work for me.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.