Added comment about mem_realloc() vs. realloc()

This commit is contained in:
goldsimon 2010-02-12 14:56:34 +00:00
parent 3529349470
commit 39df7d048c

View File

@ -58,6 +58,8 @@ typedef size_t mem_size_t;
#ifndef mem_calloc #ifndef mem_calloc
#define mem_calloc calloc #define mem_calloc calloc
#endif #endif
/* ATTENTION: using realloc is currently not supported since the return value
is ignored, so don't define mem_realloc() to realloc()! */
#ifndef mem_realloc #ifndef mem_realloc
#define mem_realloc(mem, size) (mem) #define mem_realloc(mem, size) (mem)
#endif #endif