diff options
Diffstat (limited to 'ltests.c')
-rw-r--r-- | ltests.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -1037,12 +1037,12 @@ static int query_GCparams (lua_State *L) { | |||
1037 | global_State *g = G(L); | 1037 | global_State *g = G(L); |
1038 | lua_pushinteger(L, gettotalobjs(g)); | 1038 | lua_pushinteger(L, gettotalobjs(g)); |
1039 | lua_pushinteger(L, g->GCdebt); | 1039 | lua_pushinteger(L, g->GCdebt); |
1040 | lua_pushinteger(L, luaO_applyparam(g->gcpgenminormul, 100)); | 1040 | lua_pushinteger(L, applygcparam(g, MINORMUL, 100)); |
1041 | lua_pushinteger(L, luaO_applyparam(g->gcpmajorminor, 100)); | 1041 | lua_pushinteger(L, applygcparam(g, MAJORMINOR, 100)); |
1042 | lua_pushinteger(L, luaO_applyparam(g->gcpminormajor, 100)); | 1042 | lua_pushinteger(L, applygcparam(g, MINORMAJOR, 100)); |
1043 | lua_pushinteger(L, luaO_applyparam(g->gcppause, 100)); | 1043 | lua_pushinteger(L, applygcparam(g, PAUSE, 100)); |
1044 | lua_pushinteger(L, luaO_applyparam(g->gcpstepmul, 100)); | 1044 | lua_pushinteger(L, applygcparam(g, STEPMUL, 100)); |
1045 | lua_pushinteger(L, luaO_applyparam(g->gcpstepsize, 100)); | 1045 | lua_pushinteger(L, applygcparam(g, STEPSIZE, 100)); |
1046 | return 8; | 1046 | return 8; |
1047 | } | 1047 | } |
1048 | 1048 | ||