lua-users home
lua-l archive

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

> 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.