From ad0ea7813b39e76b377983138ca995189e22054f Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 20 Dec 2023 16:25:20 -0300 Subject: GC parameters encoded as floating-point bytes This encoding brings more precision and a larger range for these parameters. --- lobject.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lobject.h') 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 { LUAI_FUNC int luaO_utf8esc (char *buff, unsigned long x); LUAI_FUNC int luaO_ceillog2 (unsigned int x); +LUAI_FUNC unsigned int luaO_codeparam (unsigned int p); +LUAI_FUNC l_obj luaO_applyparam (unsigned int p, l_obj x); + LUAI_FUNC int luaO_rawarith (lua_State *L, int op, const TValue *p1, const TValue *p2, TValue *res); LUAI_FUNC void luaO_arith (lua_State *L, int op, const TValue *p1, -- cgit v1.2.3-55-g6feb