Bind Flush(). A wait to step through lua would really be great.

This commit is contained in:
Steve Checkoway
2007-05-13 03:07:18 +00:00
parent 0a1c886de5
commit 0a9979e507
+6
View File
@@ -889,6 +889,11 @@ namespace
LOG->Warn( "%s", sString.c_str() );
return 0;
}
static int Flush( lua_State *L )
{
LOG->Flush();
return 0;
}
static int CheckType( lua_State *L )
{
RString sType = SArg(1);
@@ -963,6 +968,7 @@ namespace
{
LIST_METHOD( Trace ),
LIST_METHOD( Warn ),
LIST_METHOD( Flush ),
LIST_METHOD( CheckType ),
LIST_METHOD( ReadFile ),
LIST_METHOD( RunWithThreadVariables ),