#ifndef STATE_H #define STATE_H #include <stdbool.h> typedef struct State { lua_State *L; bool loaded_successfully; } State; #endif