[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Equality...
- From: Fred Bertsch <fb@...>
- Date: Wed, 28 Jul 1999 19:08:49 -0400 (EDT)
Is there a way to tell if two lua_Objects are equal from within C? Some
types are pretty easy, but, for example, tables aren't obvious. I have to
figure out if they are in the same chunk of memory, but getting a pointer
is obviously not supported by the standard API.
The only technique I can come up with involves lua_dostring, but that's
not particularly elegant.