[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [patch] fix luai_num* null states
- From: Roberto Ierusalimschy <roberto@...>
- Date: Mon, 3 Mar 2014 18:46:57 -0300
> 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