Changed the naming conventions (read more)

I've changed some naming concentions in the lua APIs. I've also made a few
other tweaks, like region_pager_api.cpp delegating to the passed
RegionPager object. This won't explicitly run, becuase there's still a few
more changes needed.
This commit is contained in:
Kayne Ruse
2014-06-23 03:45:30 +10:00
parent e19b6fbc23
commit 64baa63d12
12 changed files with 98 additions and 133 deletions
+6 -6
View File
@@ -73,14 +73,14 @@ static int unloadRoom(lua_State* L) {
return 0;
}
static const luaL_Reg roommgrlib[] = {
{"getroom",getRoom},
{"createroom",createRoom},
{"unloadroom",unloadRoom},
static const luaL_Reg roomMgrLib[] = {
{"GetRoom",getRoom},
{"CreateRoom",createRoom},
{"UnloadRoom",unloadRoom},
{nullptr, nullptr}
};
LUAMOD_API int luaopen_roommgrapi(lua_State* L) {
luaL_newlib(L, roommgrlib);
LUAMOD_API int openRoomMgrAPI(lua_State* L) {
luaL_newlib(L, roomMgrLib);
return 1;
}