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()); }
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; }
inline std::ostream& operator<<(std::ostream& os, const FunctionResults& res) { for (FunctionResults::const_iterator it = res.begin(); it != res.end(); ++it) { if (it != res.begin()) { os << ","; } util::stackValueDump(os, res.state(), it.index()); } return os; }