lua-users home
lua-l archive

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

> >lua_ref() returns a different number each time I call it even if the
> >argument is the same object. Is there any way to get a unique identifier for
> >a lua object?
>Of course it does...

All that makes sense to me and is exactly what I had expected but the
following isn't true when I try it:

>get_ref(a_lua_ref) == get_ref(b_lua_ref)