• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Lua functions deprecated

kablaff

Member
Joined
Jan 31, 2012
Messages
126
Reaction score
5
Location
Sweden
I can't compile with Linux, I read that luaL_register is deprecated to lua_newlibs, anyone knows how it works??

This code:
Code:
	luaL_register(m_luaState, "os", LuaInterface::luaSystemTable);

	//db table
	luaL_register(m_luaState, "db", LuaInterface::luaDatabaseTable);

	//result table
	luaL_register(m_luaState, "result", LuaInterface::luaResultTable);

	//bit table
	luaL_register(m_luaState, "bit", LuaInterface::luaBitTable);

	//std table
	luaL_register(m_luaState, "std", LuaInterface::luaStdTable);
 
Back
Top