lua-users home
lua-l archive

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

>is there any reason that luaH_getglobal() is different from
>luaV_getglobal()? I've spent a fair amount of work tracking down a bug where
>my lua interpreter cannot find my custom _ERRORMESSAGE function. Turns out
>the reason is that luaH_getglobal() does not respect my getglobal tag
>method. Any reason I shouldn't just change luaH_getglobal() to use
>luaV_getglobal() underneath?

luaH_getglobal no longer exists 4.1.
It's only use in 4.0 was replaced in 4.1 by luaV_getglobal.