diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2014-11-02 17:33:33 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2014-11-02 17:33:33 -0200 |
commit | e75c0148c387962f484f00701169a194b61a0429 (patch) | |
tree | 0dc68284b73553b8c7981ceef2aa955c4faefa5c /lmem.c | |
parent | 28fdbcf393c6c709a21a29f47cfa4c6ed4031ae9 (diff) | |
download | lua-e75c0148c387962f484f00701169a194b61a0429.tar.gz lua-e75c0148c387962f484f00701169a194b61a0429.tar.bz2 lua-e75c0148c387962f484f00701169a194b61a0429.zip |
comments (references to "ANSI C" changed to "ISO C", which is the
international name
Diffstat (limited to 'lmem.c')
-rw-r--r-- | lmem.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lmem.c,v 1.87 2014/10/25 11:50:46 roberto Exp roberto $ | 2 | ** $Id: lmem.c,v 1.88 2014/11/02 19:19:04 roberto Exp roberto $ |
3 | ** Interface to Memory Manager | 3 | ** Interface to Memory Manager |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -34,7 +34,7 @@ | |||
34 | ** * frealloc(ud, p, x, 0) frees the block 'p' | 34 | ** * frealloc(ud, p, x, 0) frees the block 'p' |
35 | ** (in this specific case, frealloc must return NULL); | 35 | ** (in this specific case, frealloc must return NULL); |
36 | ** particularly, frealloc(ud, NULL, 0, 0) does nothing | 36 | ** particularly, frealloc(ud, NULL, 0, 0) does nothing |
37 | ** (which is equivalent to free(NULL) in ANSI C) | 37 | ** (which is equivalent to free(NULL) in ISO C) |
38 | ** | 38 | ** |
39 | ** frealloc returns NULL if it cannot create or reallocate the area | 39 | ** frealloc returns NULL if it cannot create or reallocate the area |
40 | ** (any reallocation to an equal or smaller size cannot fail!) | 40 | ** (any reallocation to an equal or smaller size cannot fail!) |