Exemple #1
0
		static int push(lua_State* l, const FunctionResults& ref)
		{
			for (FunctionResults::const_iterator it = ref.cbegin(); it != ref.cend(); ++it)
			{
				it->push();
			}
			return static_cast<int>(ref.size());
		}
Exemple #2
0
		static int push(lua_State* l, const FunctionResults& ref)
		{
			int size = 0;
			for (FunctionResults::const_iterator it = ref.cbegin(); it != ref.cend(); ++it)
			{
				size += it->push(l);
			}
			return size;
		}