On 21 jun 2009, at 14:32, Luiz Henrique de Figueiredo wrote:
The function luaL_checkudata(L, index, name) exits with an error when
the name does not correspond to the one in the metatable consulted.
However, I have a situation where this situation is not necessarily
fatal for the program.
Lua 5.2 will also have luaL_testudata, which does not abort.
Nice to hear. In the mean time in my interim solution I will use the same API call.
Hans van der Meer