/apps/twnlua: report error on loading

This commit is contained in:
veclavtalica
2025-01-26 08:48:59 +03:00
parent b0e718876a
commit 7a403c766e
2 changed files with 28 additions and 20 deletions

View File

@ -3,9 +3,11 @@
#include <lua.h>
#include <stdbool.h>
typedef struct State {
lua_State *L;
bool loaded_successfully;
} State;