diff options
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!) |