lua-users home
lua-l archive

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


Quick question:

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?

Eric