[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Help needed calling Lua from my C function
- From: Mike Crowe <mikelocal@...>
- Date: Thu, 14 Apr 2005 19:42:49 -0400
Thanks. That may be it.
However, I'm using:
lua_dobuffer( L, B, 1069, "'..id..'" );
Instead of loadfile. How does dobuffer() work with pcall()?
Luiz Henrique de Figueiredo wrote:
The error function myError doesn't get called.
Lua 5.1 no longer uses _ALERT. The correct idiom is something like
if (luaL_loadfile(L,"test.lua") || lua_pcall(L,0,0,0))
This also holds for 5.0, though _ALERT was still available for