[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: luaL_checkudata() changes for 5.1 (was tolua + lua5.1alpha)
- From: Doug Rogers <rogers@...>
- Date: Tue, 06 Sep 2005 16:21:06 -0400
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
--
--__-__-____------_--_-_-_-___-___-____-_--_-___--____
Doug Rogers - ICI - V:703.893.2007x220 www.innocon.com
-_-_--_------____-_-_-___-_--___-_-___-_-_---_--_-__-_