[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: lpeg and lua command line
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Sun, 31 Aug 2008 09:38:07 -0300
> As the Lua manual says, luaopen_xxx function aren't supposed to be
> called directly. See file linit.c from the Lua sources (or modify it
> according to your needs and include into your project).
You could move the calls to luaopen_xxx to pmain, but adapting linit.c
and calling luaL_openlibs is the best way.