diff parray.c @ 40:d741c948de89

Added a convenient macro PARRAY_FLUSH to free all objects
author David Demelier <markand@malikania.fr>
date Sun, 02 Oct 2011 10:59:09 +0200
parents 7119508e78ac
children f1e184940197
line wrap: on
line diff
--- a/parray.c	Sun Oct 02 10:55:00 2011 +0200
+++ b/parray.c	Sun Oct 02 10:59:09 2011 +0200
@@ -222,8 +222,7 @@
 }
 
 /*
- * Reset the array, if the trash argument is set it will free the object
- * too, otherwise the array is just truncated to 0 length.
+ * Reset the array by setting each pointer to NULL and the length to 0.
  */
 
 void