Lua/LuaInstance: Add support for multi-arg conversion

Allows to convert 3 numbers to a single Vector3 argument (Yup, I'm
working on it)


Former-commit-id: 56766e8b3821c7c4aa44036306c6bcbe658554bb
This commit is contained in:
Lynix
2015-12-10 23:51:19 +01:00
parent f8f3dbd696
commit bfabf0cd5e
2 changed files with 46 additions and 42 deletions

View File

@@ -42,8 +42,8 @@ namespace Nz
bool Call(unsigned int argCount);
bool Call(unsigned int argCount, unsigned int resultCount);
template<typename T> T Check(int index);
template<typename T> T Check(int index, T defValue);
template<typename T> T Check(unsigned int* index);
template<typename T> T Check(unsigned int* index, T defValue);
void CheckAny(int index) const;
bool CheckBoolean(int index) const;
bool CheckBoolean(int index, bool defValue) const;