Merge pull request #366 from kluete/petah

typo fix
This commit is contained in:
The Phantom Derpstorm 2017-03-18 10:40:00 -04:00 committed by GitHub
commit 35761bdd0b

View File

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