lua-users home
lua-l archive

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


>This however is a problem. A better way of easily adding libs to a
>standard build (preferably without having to edit any source) would be a
>big win. Even something as low-tech as a file containing calls to init
>functions that was then #included into lua.c.

Starting in 4.1, lua.c contains a macro LUA_USERINIT that can be redefined
to do whatever initialization is desired.
--lhf