aboutsummaryrefslogtreecommitdiff
path: root/lmem.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2019-12-30 11:45:08 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2019-12-30 11:45:08 -0300
commitbd1b87c5790c0c6fe23f76aa360e879922e1e738 (patch)
tree49978c2dd847c7ff4ec84e1a153ca37deef79e2a /lmem.c
parentd7bb8df8414f71a290c8a4b1c9f7c6fe839a94df (diff)
downloadlua-bd1b87c5790c0c6fe23f76aa360e879922e1e738.tar.gz
lua-bd1b87c5790c0c6fe23f76aa360e879922e1e738.tar.bz2
lua-bd1b87c5790c0c6fe23f76aa360e879922e1e738.zip
Comments (mosty typos)
Diffstat (limited to 'lmem.c')
-rw-r--r--lmem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lmem.c b/lmem.c
index b1d646a5..65bfa524 100644
--- a/lmem.c
+++ b/lmem.c
@@ -26,7 +26,7 @@
26/* 26/*
27** First allocation will fail whenever not building initial state 27** First allocation will fail whenever not building initial state
28** and not shrinking a block. (This fail will trigger 'tryagain' and 28** and not shrinking a block. (This fail will trigger 'tryagain' and
29** a full GC cycle at every alocation.) 29** a full GC cycle at every allocation.)
30*/ 30*/
31static void *firsttry (global_State *g, void *block, size_t os, size_t ns) { 31static void *firsttry (global_State *g, void *block, size_t os, size_t ns) {
32 if (ttisnil(&g->nilvalue) && ns > os) 32 if (ttisnil(&g->nilvalue) && ns > os)