aboutsummaryrefslogtreecommitdiff
path: root/lobject.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2023-12-20 16:25:20 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2023-12-20 16:25:20 -0300
commitad0ea7813b39e76b377983138ca995189e22054f (patch)
tree087e3585a4b4bf5ae65f56b9599bbff9c361a123 /lobject.h
parent666e95a66d1a2ceb98bdf320980b3f655264a9c9 (diff)
downloadlua-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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lobject.h b/lobject.h
index 6da50215..a7d85762 100644
--- a/lobject.h
+++ b/lobject.h
@@ -826,6 +826,9 @@ typedef struct Table {
826 826
827LUAI_FUNC int luaO_utf8esc (char *buff, unsigned long x); 827LUAI_FUNC int luaO_utf8esc (char *buff, unsigned long x);
828LUAI_FUNC int luaO_ceillog2 (unsigned int x); 828LUAI_FUNC int luaO_ceillog2 (unsigned int x);
829LUAI_FUNC unsigned int luaO_codeparam (unsigned int p);
830LUAI_FUNC l_obj luaO_applyparam (unsigned int p, l_obj x);
831
829LUAI_FUNC int luaO_rawarith (lua_State *L, int op, const TValue *p1, 832LUAI_FUNC int luaO_rawarith (lua_State *L, int op, const TValue *p1,
830 const TValue *p2, TValue *res); 833 const TValue *p2, TValue *res);
831LUAI_FUNC void luaO_arith (lua_State *L, int op, const TValue *p1, 834LUAI_FUNC void luaO_arith (lua_State *L, int op, const TValue *p1,