lua-users home
lua-l archive

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


Hi,

What's an idiomatic way to compare two lua_Objects in C? I'm guessing the naÏve way is to make sure their types are equal, convert values to C based on types, and check the values.

However, is there some kind of easier way to do this?

Thanks,
Cyril.