lua-users home
lua-l archive

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


> You're not doing anything wrong. tolua is profoundly broken in the way that you describe. I recommend against anyone using tolua for that reason.
> Tim

 
Hi Tim, thanks for the response, I'm sorry to hear it though.  Dropping toLua completely would be a lot of work for this lazy programmer :)
 
I think I will try modifying our version of toLua to use the actual Udata block address as a key into the toLua tables instead of the address it's holding onto, at least that way we wont have collisions in the table.  I'll have to figure something else out for getting orphaned userdata out of the tolua_ubox table.
 
Jay