lua-users home
lua-l archive

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

I replaced all the lua_open... calls with the one call to luaL_openlibs() 
and had no more problems.

As DB said in the previous message, I have to use lua_call(...) which is 
used by the _openlibs() routine.

Thanks for the feedback.


"steffenj" <> wrote in message">
I once had this problem, too. Use either


to open ALL libraries at once, or look at the source of this function to see
how they are called if you must open only specific libraries. For a test app
openlibs should suffice though.

See 7.3 - Changes in the API (first bullet point):