Lua/LuaInstance: Add mutli-arg Push()

This commit is contained in:
Lynix
2016-10-24 14:25:02 +02:00
parent 46e4bb41b5
commit bf31ee289e
2 changed files with 11 additions and 0 deletions

View File

@@ -123,6 +123,7 @@ namespace Nz
void Pop(unsigned int n = 1U) const;
template<typename T> int Push(T arg) const;
template<typename T, typename T2, typename... Args> int Push(T firstArg, T2 secondArg, Args... args) const;
void PushBoolean(bool value) const;
void PushCFunction(LuaCFunction func, unsigned int upvalueCount = 0) const;
template<typename T> void PushField(const char* name, T&& arg, int tableIndex = -2) const;