Equality...
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Equality...
- From: Fred Bertsch <fb@...>
- Date: 1999年7月28日 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.
F