[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Call which function to initialize the package.loadlib features in 5.1?
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Mon, 21 Aug 2006 23:54:16 -0300
> 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