[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Adding an hex type in lua
- From: Mildred <ml.mildred593@...>
- Date: Tue, 21 Nov 2006 22:24:22 +0100
Le mar 21/11/2006 à 18:00 Grellier, Thierry à écrit:
> I need to manipulate addresses. These addresses would be happy with
> specific operators, namely bitwise operators. Currently the address I
> manipulate are 32 bits, but I may imagine they become 64bits in
> future.
Why not using light userdata, maybe redefining the metatable associated
with all light userdata. As far as I know, light userdata are just
void* pointers.
--
Mildred <xmpp:mildred@jabber.fr> <http://mildred632.free.fr/>
Clef GPG : <hkp://pgp.mit.edu> ou <http://mildred632.free.fr/gpg_key>
Fingerprint : 197C A7E6 645B 4299 6D37 684B 6F9D A8D6 [9A7D 2E2B]