[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: RE: Equality of userdata
- From: "Tom Spilman" <tom@...>
- Date: Wed, 6 Oct 2004 12:25:13 -0500
> Isn't __eq just for that?
My bad. I implemented __eq and because of a simple typo it was not
working correctly. Then I came across this in the Lua book "As a full
userdata is an object, it is only equal to itself." and old list postings
which indicated that __eq doesn't work for userdata. Also I seemed to
confused the "ud = ud" issue with this. It all snowballed from simple
little bug.
Tom