Added LOGWARNING() function to Lua API, as a synonym to LOGWARN()
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1558 0a769ca7-a7f5-676a-18bf-c427514a06d6master
parent
f746d17424
commit
4d441e9ec7
|
@ -1255,15 +1255,15 @@ tolua_lerror:
|
|||
|
||||
|
||||
|
||||
void ManualBindings::Bind( lua_State* tolua_S )
|
||||
void ManualBindings::Bind(lua_State * tolua_S)
|
||||
{
|
||||
tolua_beginmodule(tolua_S,NULL);
|
||||
tolua_function(tolua_S, "StringSplit", tolua_StringSplit);
|
||||
tolua_function(tolua_S, "LOG", tolua_LOG);
|
||||
tolua_function(tolua_S, "LOGINFO", tolua_LOGINFO);
|
||||
tolua_function(tolua_S, "LOGWARN", tolua_LOGWARN);
|
||||
tolua_function(tolua_S, "LOGWARNING", tolua_LOGWARN);
|
||||
tolua_function(tolua_S, "LOGERROR", tolua_LOGERROR);
|
||||
tolua_function(tolua_S, "Log", tolua_LOG); // Deprecated
|
||||
|
||||
tolua_beginmodule(tolua_S, "cRoot");
|
||||
tolua_function(tolua_S, "ForEachWorld", tolua_ForEach<cRoot, cWorld, &cRoot::ForEachWorld>);
|
||||
|
|
Loading…
Reference in New Issue