refactor(build): include lpeg as a library

This commit is contained in:
bfredl
2023-04-20 13:19:38 +02:00
parent 9f0762f1fe
commit 45bcf83869
19 changed files with 376 additions and 52 deletions

View File

@@ -9,5 +9,10 @@ LUA_API int luaopen_nlua0(lua_State* L) {
luaopen_mpack(L);
lua_setfield(L, -2, "mpack");
int luaopen_lpeg(lua_State *);
luaopen_lpeg(L);
lua_setfield(L, -3, "lpeg");
lua_pop(L, 2);
return 1;
}