lua-users home
lua-l archive

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


> 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?

No problem, as long as the cast is a function (that is, equal pointers
translate to equal integers). The worst that can happen is a poor
performance when using functions/tables/userdata as keys into tables.

-- Roberto