diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2023-12-20 16:25:20 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2023-12-20 16:25:20 -0300 |
commit | ad0ea7813b39e76b377983138ca995189e22054f (patch) | |
tree | 087e3585a4b4bf5ae65f56b9599bbff9c361a123 /lobject.h | |
parent | 666e95a66d1a2ceb98bdf320980b3f655264a9c9 (diff) | |
download | lua-ad0ea7813b39e76b377983138ca995189e22054f.tar.gz lua-ad0ea7813b39e76b377983138ca995189e22054f.tar.bz2 lua-ad0ea7813b39e76b377983138ca995189e22054f.zip |
GC parameters encoded as floating-point bytes
This encoding brings more precision and a larger range for these
parameters.
Diffstat (limited to 'lobject.h')
-rw-r--r-- | lobject.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -826,6 +826,9 @@ typedef struct Table { | |||
826 | 826 | ||
827 | LUAI_FUNC int luaO_utf8esc (char *buff, unsigned long x); | 827 | LUAI_FUNC int luaO_utf8esc (char *buff, unsigned long x); |
828 | LUAI_FUNC int luaO_ceillog2 (unsigned int x); | 828 | LUAI_FUNC int luaO_ceillog2 (unsigned int x); |
829 | LUAI_FUNC unsigned int luaO_codeparam (unsigned int p); | ||
830 | LUAI_FUNC l_obj luaO_applyparam (unsigned int p, l_obj x); | ||
831 | |||
829 | LUAI_FUNC int luaO_rawarith (lua_State *L, int op, const TValue *p1, | 832 | LUAI_FUNC int luaO_rawarith (lua_State *L, int op, const TValue *p1, |
830 | const TValue *p2, TValue *res); | 833 | const TValue *p2, TValue *res); |
831 | LUAI_FUNC void luaO_arith (lua_State *L, int op, const TValue *p1, | 834 | LUAI_FUNC void luaO_arith (lua_State *L, int op, const TValue *p1, |