diff options
Diffstat (limited to 'lstate.c')
-rw-r--r-- | lstate.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -52,8 +52,9 @@ typedef struct LG { | |||
52 | 52 | ||
53 | 53 | ||
54 | /* | 54 | /* |
55 | ** set GCdebt to a new value keeping the value (totalobjs + GCdebt) | 55 | ** set GCdebt to a new value keeping the real number of allocated |
56 | ** invariant (and avoiding underflows in 'totalobjs') | 56 | ** objects (totalobjs - GCdebt) invariant and avoiding overflows in |
57 | ** 'totalobjs'. | ||
57 | */ | 58 | */ |
58 | void luaE_setdebt (global_State *g, l_obj debt) { | 59 | void luaE_setdebt (global_State *g, l_obj debt) { |
59 | l_obj tb = gettotalobjs(g); | 60 | l_obj tb = gettotalobjs(g); |