lua-users home
lua-l archive

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

On 30 March 2011 21:50, Mike Pall <> wrote:
> Daurnimator wrote:
>> Cdata returned from C structures is not the same each time it is
>> fetched... This is creating problems with using cdata as keys in
>> tables.
> That's deliberate. cdata are unsuitable as table keys.
>> Anyone got some tricks to work with cdata?
> Read the docs:
> --Mike
Those docs still don't explain why they have an identity crisis...
assert (a==a) -- Blows up