|
> What I'm wondering is if there's any way of telling the lua garbage > collector that this userdata is actually occupying more than 4 bytes? Currently, not. But see http://lua-users.org/lists/lua-l/2007-06/msg00088.html and the next message in that thread for workarounds.