Resources | developer.brewmp.com Resources | developer.brewmp.com

Developer

resources

IDL array in Lua

IDL arrays are mapped as Lua tables. For example, given the declaration:

typedef short ShortVec[3];
typedef ShortVec Matrix[2];
an array instance might be:
local m = { {1,2,3}, {4,5,6} }