This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Return an array in this structure | |
http://stackoverflow.com/questions/20173954/how-to-return-a-multidimensional-table-from-c-function-to-lua | |
In Lua array values usually starts at 1. | |
{ | |
[1] = { ["field1"] = "1", ["field2"] = "2" , ["field3"] = "3" }, | |
[2] = { ["field1"] = "10" , ["field2"] = "20", ["field3"] = "30" } | |
} | |
*/ |