[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Unitialized Lua Stae using 5.1 causes abort
- From: "Edward Mitchell" <emitchell@...>
- Date: Sun, 24 Sep 2006 20:25:13 -0400
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" <firstname.lastname@example.org> 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):