lua-users home
lua-l archive

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


> It's easiest to open all of the standard libraries at once by calling 
> luaL_openlibs(L).  However, if you want to open the package library 
> individually, you can do it like this:

The easiest way to choose which libraries to open is to edit the list
in linit.c and call luaL_openlibs(L). linit.c is meant to be edited
and added to your project -- that's why luaL_openlibs resides in a
separate module.
--lhf