2024-10-05 21:17:22 +00:00
|
|
|
#ifndef STATE_H
|
|
|
|
#define STATE_H
|
|
|
|
|
|
|
|
#include <lua.h>
|
|
|
|
|
2025-01-26 05:48:59 +00:00
|
|
|
#include <stdbool.h>
|
2024-10-05 21:17:22 +00:00
|
|
|
|
|
|
|
typedef struct State {
|
|
|
|
lua_State *L;
|
2025-01-26 05:48:59 +00:00
|
|
|
bool loaded_successfully;
|
2024-10-05 21:17:22 +00:00
|
|
|
} State;
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|