lite/src/api/api.c
Alessandro Mauri 52650661ec minor changes
added makefile install and uninstall rules
changed license to inclue myself
modified some keybindings
added desktop file
added todo
2021-07-04 19:17:33 +02:00

16 lines
342 B
C

#include "api.h"
int luaopen_system(lua_State *L);
int luaopen_renderer(lua_State *L);
static const luaL_Reg libs[] = {
{ "system", luaopen_system },
{ "renderer", luaopen_renderer },
{ NULL, NULL }
};
void api_load_libs(lua_State *L) {
for (int i = 0; libs[i].name; i++)
luaL_requiref(L, libs[i].name, libs[i].func, 1);
}