bool LuaScream::PushEntries(lua_State* L) { CreateMetatable(L); REGISTER_LUA_CFUNC(CreateScream); return true; }
bool LuaLobby::PushEntries(lua_State* L) { CreateMetatable(L); REGISTER_LUA_CFUNC(CreateLobby); return true; }
bool LuaFonts::PushEntries(lua_State* L) { CreateMetatable(L); REGISTER_LUA_CFUNC(LoadFont); REGISTER_LUA_CFUNC(DeleteFont); return true; }
bool LuaScream::PushEntries(lua_State* L) { CreateMetatable(L); #define REGISTER_LUA_CFUNC(x) \ lua_pushstring(L, #x); \ lua_pushcfunction(L, x); \ lua_rawset(L, -3) REGISTER_LUA_CFUNC(CreateScream); return true; }