From 2bd1eaef1b9ec848933a40049ec8866e2b83a47d Mon Sep 17 00:00:00 2001
From: Clyne Sullivan <tullivan99@gmail.com>
Date: Mon, 16 Oct 2017 18:43:06 -0400
Subject: do not touch birb

---
 src/systems/lua.cpp | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

(limited to 'src/systems/lua.cpp')

diff --git a/src/systems/lua.cpp b/src/systems/lua.cpp
index e412334..18d2ef1 100644
--- a/src/systems/lua.cpp
+++ b/src/systems/lua.cpp
@@ -6,7 +6,7 @@ void LuaScript::setGlobal(const LuaVariable& nv) const
 	lua_setglobal(state, std::get<std::string>(nv).c_str());
 }
 
-void LuaScript::getReturns(std::vector<double>& rets) const
+void LuaScript::getReturns(LuaRetList& rets) const
 {
 	int count = lua_gettop(state);
 	for (int i = 1; i <= count; i++)
@@ -14,7 +14,7 @@ void LuaScript::getReturns(std::vector<double>& rets) const
 	lua_pop(state, count);
 }
 
-void LuaScript::operator()(const std::string& func, std::vector<LuaVariable> vars) const
+void LuaScript::operator()(const std::string& func, LuaList vars) const
 {
 	for (auto& v : vars)
 		setGlobal(v);
@@ -25,8 +25,8 @@ void LuaScript::operator()(const std::string& func, std::vector<LuaVariable> var
 	}
 }
 
-void LuaScript::operator()(const std::string& func, std::vector<double>& rets,
-	std::vector<LuaVariable> vars) const
+void LuaScript::operator()(const std::string& func, LuaRetList& rets,
+	LuaList vars) const
 {
 	for (auto& v : vars)
 		setGlobal(v);
@@ -38,7 +38,7 @@ void LuaScript::operator()(const std::string& func, std::vector<double>& rets,
 	}
 }
 
-void LuaScript::operator()(std::vector<LuaVariable> vars) const
+void LuaScript::operator()(LuaList vars) const
 {
 	for (auto& v : vars)
 		setGlobal(v);
@@ -49,7 +49,7 @@ void LuaScript::operator()(std::vector<LuaVariable> vars) const
 	}
 }
 
-void LuaScript::operator()(std::vector<double>& rets, std::vector<LuaVariable> vars) const
+void LuaScript::operator()(LuaRetList& rets, LuaList vars) const
 {
 	for (auto& v : vars)
 		setGlobal(v);
-- 
cgit v1.2.3