lua-users home
lua-l archive

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

Glenn Maynard wrote:

> luaL_checkudata returned NULL in 5.0, but throws an error in 5.1.

My code is ready for that. I don't use luaL_checkudata() for precisely
that reason: no control over the exception mechanism. I can see why it
throws an error, though, since the other lua_checkTYPE()'s do.

> luaL_newmetatable still maps the name to the metatable.  It just doesn't
> map the metatable back to the name, as 5.0 did.

Too bad. That can be helpful.


Doug Rogers - ICI - V:703.893.2007x220