|
|
||
|
Matt Holmes wrote:
>
> void VLLuaHandler::SetErrorHandler()
> {
> if(m_cState)
> {
> lua_setglobal(m_cState, "_handler");
> lua_pushusertag(m_cState, this, LUA_ANYTAG);
If you want to store the userdata in _handler you better swap the
last two lines...
Ciao, ET.