Replies: 2 comments
|
This means we might need to change Also, if you need this from lua, you could use local array = {1, 2, 3, 4}
local a, b, c, d = table.unpack(array) |
0 replies
|
Is there some way to use |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Sometimes you might want to push multiple values for a type.
For example when pushing all values of a variant type or std::pair. Currently it's done by pushing them in a table.
But in my case I don't want a table to return, I want each value separately in Lua.
All reactions