lua-users home
lua-l archive

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


Particularly, if I have a user-data with __mul in it's metadata, I can
multiply it with a lua_Number.

But if I have a user-data with __eq int it's metadata, I can't compare
it with a lua_Number.

There must be a reason... what is it?

Also, what is the suggested work-around? The user-data wraps a uint64,
for those interested.

This is with 5.0.

Thanks,
Sam