move most of the lua api into its one file in c

This commit is contained in:
2026-01-20 15:53:26 +01:00
parent 1d4cf16399
commit 41d9bba1d1
5 changed files with 285 additions and 256 deletions

View File

@@ -4,7 +4,7 @@ liblua:
rm *.o
build: liblua
gcc -O2 -shared -static -o luahost.dll plugin.c liblua -lgdi32 -luser32 -lshell32 \
gcc -O2 -shared -static -o luahost.dll plugin.c api.c liblua -lgdi32 -luser32 -lshell32 \
-Wl,--add-stdcall-alias \
-ffunction-sections -fdata-sections