Added LuaInstance::Call

Former-commit-id: 3bbf04804868ab46dfcf1f9c30ad4de621c880b8
This commit is contained in:
Lynix
2015-03-24 12:50:04 +01:00
parent 36b39ec868
commit 88c3b9d482
2 changed files with 13 additions and 0 deletions

View File

@@ -35,6 +35,9 @@ class NAZARA_API NzLuaInstance : NzNonCopyable
int ArgError(unsigned int argNum, const char* error);
int ArgError(unsigned int argNum, const NzString& error);
bool Call(unsigned int argCount);
bool Call(unsigned int argCount, unsigned int resultCount);
void CheckAny(int index) const;
bool CheckBoolean(int index) const;
bool CheckBoolean(int index, bool defValue) const;