[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Userdata
- From: Dirk Laurie <dirk.laurie@...>
- Date: Tue, 3 Jan 2012 09:50:45 +0200
2012/1/3 Patrick Rapin <toupie300@gmail.com>:
> You can take the address of the full userdata block, push the address
> on the stack as a light userdata, and use that light userdata as a key
> to store the full one into the registry (or any other table).
That will solve the problem underlying my post. My userdata structure
contains pointers to other userdata, and I need functions returning
those to Lua as full userdata.
Thanks!
Dirk