lua-users home
lua-l archive

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


> 	void signal_handler(int sig)
> 	{
> 	  if (!gsig)
> 	  {
> 	    gsig       = sig;
> 	    ghookcount = lua_gethookcount(gL);
> 	    ghookmask  = lua_gethookmask(gL);
> 	    ghook      = lua_gethook(gL);
> 	    lua_sethook(gL,luasigbackend,LUA_MASKCALL | LUA_MASKRET | LUA_MASKCOUNT,1);
> 	  }
> 	}

What is "gL" here?

-- Roberto