libc3: c_array tweaks
authorMichel Pollet <buserror@gmail.com>
Wed, 13 Jun 2012 17:11:23 +0000 (18:11 +0100)
committerMichel Pollet <buserror@gmail.com>
Wed, 13 Jun 2012 17:11:23 +0000 (18:11 +0100)
commit1c4c07586f0591e7a6d8e46e91a4a6ba90a95a5f
tree346b70602f909bbf3a042cb897f5b390c21c20ff
parentd63b5c761a663ecccd8f2d6969016a8b596a61e7
libc3: c_array tweaks

'free' no longer clears the entire struct, only generic
array fields
'realloc' frees the array if passed zero elements

Signed-off-by: Michel Pollet <buserror@gmail.com>
examples/shared/libc3/src/c_array.h