bind Warn
This commit is contained in:
@@ -669,9 +669,15 @@ static bool Trace( const RString &sString )
|
||||
LOG->Trace( "%s", sString.c_str() );
|
||||
return true;
|
||||
}
|
||||
|
||||
LuaFunction( Trace, Trace(SArg(1)) );
|
||||
|
||||
static bool Warn( const RString &sString )
|
||||
{
|
||||
LOG->Warn( "%s", sString.c_str() );
|
||||
return true;
|
||||
}
|
||||
LuaFunction( Warn, Warn(SArg(1)) );
|
||||
|
||||
#include "ProductInfo.h"
|
||||
LuaFunction( ProductVersion, (RString) PRODUCT_VER );
|
||||
LuaFunction( ProductID, (RString) PRODUCT_ID );
|
||||
|
||||
Reference in New Issue
Block a user