[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: luajit FFI cdata problem
- From: Daurnimator <quae@...>
- Date: Thu, 31 Mar 2011 04:06:38 +1100
On 31 March 2011 03:53, Mike Pall <email@example.com> wrote:
> Daurnimator wrote:
>> Those docs still don't explain why they have an identity crisis...
>> assert (a==a) -- Blows up
> Look at the error message. You can compare two pointers, but not
> two aggregates.
But surely you can see that the aggregates are the same type, and
located at the same place in memory: how could they ever not be equal?