lua-users home
lua-l archive

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


> I was working on redefining of luai_num* macros on Lua 5.3 work1 for
> disabling float point operations and I realized that these macros are
> not working properly when they try to access the given Lua state;
> mainly because lcode.c and lobject.c pass a null state for them. Here
> is a small patch to fix this.

Why do you need the Lua state in those macros?

-- Roberto