aboutsummaryrefslogtreecommitdiff
path: root/src/lua/api.h
blob: a134aa0389fa357381dc0b384525f7d7dce14d69 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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