diff options
Diffstat (limited to 'src/lua/api.h')
| -rw-r--r-- | src/lua/api.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/lua/api.h b/src/lua/api.h new file mode 100644 index 0000000..a134aa0 --- /dev/null +++ b/src/lua/api.h @@ -0,0 +1,17 @@ +#ifndef COMET_LUA_API_H +#define COMET_LUA_API_H + +#include <lauxlib.h> +#include <lua.h> +#include <lualib.h> +#include <stdbool.h> + +typedef struct { + lua_State *state; +} lua_api_t; + +bool lua_api_init(lua_api_t *api); + +void lua_api_close(lua_api_t *api); + +#endif |
