lua-users home
lua-l archive

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

>What information do I need to save for each member to be able to
>retrieve and modify the object later. My first try (And basicly all my
>tries in different shapes) is releated to save the lua_Object for the
>table and the index .. But this seems to go wrong.. Is the lua_Object a
>safe value to save outside blocks ? Is there an easier way

I guess a reference should do the trick. lua_Objects not locked could be
GC'd between blocks (manual says it is good practice to not use raw
lua_Objects but convert them ASAP).


Windows is slow and crashaholic ? Linux is too hard to learn ? Try BeOS