标签: c lua
如何将矩阵从C函数返回到lua?
像这样:
mt = {} -- create the matrix for i=1,3 do mt[i] = {} -- create a new row for j=1,3 do mt[i][j] = 0 end end