|
Hi,
the only complication is copying complex objects. it would be great if the Lua API included some way to do that. ideally, a single call with several parameters controlling how deeply do the copy. or at least, a simpler way to write the loop without having to worry about all different datatypes.
How would you pass "userdata" around? Which lua_State would be in charge of garbage collecting them? Regards, Diego.