lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

With SWIG C structures are treated as userdata in Lua. Is there any
automatic way to convert one of these to a Lua table that can more
easily be marshalled? Or do I have to make a struct to table copy
function (and back) on a per structure definition basis?