lua-users home
lua-l archive

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


In llimits.h there is

#define IntPoint(p)  (((unsigned long)(p)) >> 3)

This gets used in the hash table for strings and
userdata.

when casting addresses to integers IBM OS400
translates pointers to small(<15 bit) non-unique 
integers. (OS400 pointers are 128 bits, int is
32 bits).

Does any body know if this will bust anything in
Lua?

Are there any other casts of pointer to int in
Lua?

DB