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) |
Beta Was this translation helpful? Give feedback.
-
Is there some way to use |
Beta Was this translation helpful? Give feedback.
-
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.
Beta Was this translation helpful? Give feedback.
All reactions