comments (references to "ANSI C" changed to "ISO C", which is the

international name
This commit is contained in:
Roberto Ierusalimschy
2014-11-02 17:33:33 -02:00
parent 28fdbcf393
commit e75c0148c3
8 changed files with 19 additions and 20 deletions

4
lmem.c
View File

@@ -1,5 +1,5 @@
/*
** $Id: lmem.c,v 1.87 2014/10/25 11:50:46 roberto Exp roberto $
** $Id: lmem.c,v 1.88 2014/11/02 19:19:04 roberto Exp roberto $
** Interface to Memory Manager
** See Copyright Notice in lua.h
*/
@@ -34,7 +34,7 @@
** * frealloc(ud, p, x, 0) frees the block 'p'
** (in this specific case, frealloc must return NULL);
** particularly, frealloc(ud, NULL, 0, 0) does nothing
** (which is equivalent to free(NULL) in ANSI C)
** (which is equivalent to free(NULL) in ISO C)
**
** frealloc returns NULL if it cannot create or reallocate the area
** (any reallocation to an equal or smaller size cannot fail!)