aboutsummaryrefslogtreecommitdiff
path: root/engines/sword25/script/luabindhelper.h
diff options
context:
space:
mode:
authorEugene Sandulenko2010-07-31 11:49:39 +0000
committerEugene Sandulenko2010-10-12 22:15:10 +0000
commitbed623b11ef007bb46b26f1f995b6073914383c5 (patch)
tree823c2cf9aeea3e45256f2e08cbdf147c76aa1eb9 /engines/sword25/script/luabindhelper.h
parent6a55700935983efc0d7e9fd37563c14dcc199027 (diff)
downloadscummvm-rg350-bed623b11ef007bb46b26f1f995b6073914383c5.tar.gz
scummvm-rg350-bed623b11ef007bb46b26f1f995b6073914383c5.tar.bz2
scummvm-rg350-bed623b11ef007bb46b26f1f995b6073914383c5.zip
SWORD25: Fix compilation
svn-id: r53193
Diffstat (limited to 'engines/sword25/script/luabindhelper.h')
-rw-r--r--engines/sword25/script/luabindhelper.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/engines/sword25/script/luabindhelper.h b/engines/sword25/script/luabindhelper.h
index 7e92fd121d..0891cb4938 100644
--- a/engines/sword25/script/luabindhelper.h
+++ b/engines/sword25/script/luabindhelper.h
@@ -64,7 +64,7 @@ public:
Das Array muss mit dem Eintrag {0, 0} terminiert sein.
@return Gibt true bei Erfolg zurück, ansonsten false.
*/
- static bool AddFunctionsToLib(lua_State * L, const std::string & LibName, const luaL_reg * Functions);
+ static bool AddFunctionsToLib(lua_State * L, const Common::String & LibName, const luaL_reg * Functions);
/**
@brief Fügt eine Menge von Konstanten einer Lua-Library hinzu.
@@ -75,7 +75,7 @@ public:
Das Array muss mit dem Eintrag {0, 0} terminiert sein.
@return Gibt true bei Erfolg zurück, ansonsten false.
*/
- static bool AddConstantsToLib(lua_State * L, const std::string & LibName, const lua_constant_reg * Constants);
+ static bool AddConstantsToLib(lua_State * L, const Common::String & LibName, const lua_constant_reg * Constants);
/**
@brief Fügt eine Menge von Methoden zu einer Lua-Klasse hinzu.
@@ -86,7 +86,7 @@ public:
Das Array muss mit dem Eintrag {0, 0} terminiert sein.
@return Gibt true bei Erfolg zurück, ansonsten false.
*/
- static bool AddMethodsToClass(lua_State * L, const std::string & ClassName, const luaL_reg * Methods);
+ static bool AddMethodsToClass(lua_State *L, const Common::String &ClassName, const luaL_reg *Methods);
/**
@brief Legt eine Funktion fest, die aufgerufen wird, wenn Exemplare einer bestimmten Lua-Klasse vom Garbage-Collecter gelöscht werden.
@@ -96,14 +96,14 @@ public:
@param GCHandler ein Funktionspointer auf die Funktion.
@return Gibt true bei Erfolg zurück, ansonsten false.
*/
- static bool SetClassGCHandler(lua_State * L, const std::string & ClassName, lua_CFunction GCHandler);
+ static bool SetClassGCHandler(lua_State *L, const Common::String &ClassName, lua_CFunction GCHandler);
/**
@brief Gibt einen String zurück, der einen Stackdump des Lua-Stacks enthält.
@param L ein Pointer auf die Lua-VM.
*/
- static std::string StackDump(lua_State * L);
+ static Common::String StackDump(lua_State *L);
/**
@brief Gibt einen String zurück, den den Inhalt einer Tabelle beschreibt.
@@ -111,12 +111,12 @@ public:
@param L ein Pointer auf die Lua-VM.
@remark Auf dem Lua-Stack muss die Tabelle liegen, die ausgelesen werden soll.
*/
- static std::string TableDump(lua_State * L);
+ static Common::String TableDump(lua_State *L);
- static bool GetMetatable(lua_State * L, const std::string & TableName);
+ static bool GetMetatable(lua_State *L, const Common::String &TableName);
private:
- static bool _CreateTable(lua_State * L, const std::string & TableName);
+ static bool _CreateTable(lua_State *L, const Common::String &TableName);
};
#endif