remove ugly RunAtExpressionS

This commit is contained in:
Glenn Maynard
2006-10-23 20:40:32 +00:00
parent 42a729012e
commit e246824ce3
2 changed files with 0 additions and 17 deletions
-14
View File
@@ -547,20 +547,6 @@ void LuaHelpers::RunExpressionS( const RString &str, RString &sOut )
LUA->Release( L );
}
bool LuaHelpers::RunAtExpressionS( RString &sStr )
{
if( sStr.size() == 0 || sStr[0] != '@' )
return false;
/* Erase "@". */
sStr.erase( 0, 1 );
RString sOut;
LuaHelpers::RunExpressionS( sStr, sOut );
sStr = sOut;
return true;
}
void LuaHelpers::ParseCommandList( Lua *L, const RString &sCommands, const RString &sName )
{
RString sLuaFunction;
-3
View File
@@ -78,9 +78,6 @@ namespace LuaHelpers
/* Run an expression in the global environment, returning the given type. */
void RunExpressionS( const RString &str, RString &sOut );
/* If sStr begins with @, evaluate the rest as an expression and store the result over sStr. */
bool RunAtExpressionS( RString &sStr );
void ParseCommandList( lua_State *L, const RString &sCommands, const RString &sName );
XNode *GetLuaInformation();