[Iup-users] PANIC: unprotected error in call to Lua API (no calling environment)

Alex Sandro Queiroz e Silva asandroq at gmail.com
Tue Dec 4 11:23:00 GMT+3 2007


Hallo,

Jeremy Cowgar escreveu:
> 
>    /* Lua 5 initialization */
>    L = lua_open();     luaopen_base(L);
>    luaopen_table(L);
>    luaopen_io(L);
>    luaopen_string(L);
>    luaopen_math(L);
> 

     With Lua 5.1, use:

luaL_openlibs(L);

instead of the sequence of luaopen_* calls.

-alex




More information about the iup-users mailing list