bind Warn

This commit is contained in:
Glenn Maynard
2006-10-14 02:26:33 +00:00
parent 28ff9ee684
commit 61ba92a933
+7 -1
View File
@@ -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 );