lua-users home
lua-l archive

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

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       <> <>
Clef GPG :    <hkp://> ou <>
Fingerprint : 197C A7E6 645B 4299 6D37 684B 6F9D A8D6 [9A7D 2E2B]