Posted 19 January 2016 - 04:10 PM
I'm writing a peripheral and callMethod function I can return a lua table using Map, but, how can I put metatable in this?
Oh… Okay… I will use lua program as interface, thanks.CC doesn't provide a way to attach a metatable. You are limited to either a basic lookup table (a map) or a series of functions (ILuaObject)
return new Object[] { map };How can I return a map to give a lua table?