This commit is contained in:
LSK 2017-03-17 18:56:42 -07:00
parent 82482bfe3e
commit 3ba03beeae

View File

@ -450,7 +450,7 @@ multiple returns to lua
result2 = lua["f"](100, 200, "BARK BARK BARK!");
// result2 == { 100, 200, "BARK BARK BARK!" }
int a, int b;
int a, b;
std::string c;
sol::tie( a, b, c ) = lua["f"](100, 200, "bark");
// a == 100