lua-users home
lua-l archive

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




I have tried turning on the FIXEDBIT bit on a table value, but it did not give any effect (table is collected at the first GC run after reference to table has been removed from the Lua stack).

Also: when hacking around with this kind of stuff, you need to be careful to replicate all of luas structure packing flags when building your own c files.  For example, if your lgc.c is compiled with the Nan trick flag, any GC hacks will probably need it defined as well.  (If I were to try debugging your sample code; that's the first issue I'd check.)