lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


>1. An automatic static library inserter that adds the relevant lines to
>lua.c and lualib.h (or whatever) to add a new library to the lua binary
>statically.

In Lua 4.0, just add the relevant lines after "add your libraries here" in
lua.c.

In Lua 4.1, you'll be able to define LUA_USERINIT(L) as whatever you need.
(There's also a LUA_USERFINI.)
--lhf