Mercurial > code
comparison array.c @ 35:b972758ddcd5
Remove tests garbage
author | David Demelier <markand@malikania.fr> |
---|---|
date | Fri, 30 Sep 2011 20:17:37 +0200 |
parents | 653bb22d3c0c |
children | d741c948de89 |
comparison
equal
deleted
inserted
replaced
34:653bb22d3c0c | 35:b972758ddcd5 |
---|---|
146 /* | 146 /* |
147 * Remove the object referenced by the `data' argument. Useful when you | 147 * Remove the object referenced by the `data' argument. Useful when you |
148 * don't know the index. | 148 * don't know the index. |
149 */ | 149 */ |
150 | 150 |
151 struct personne { | |
152 char *name; | |
153 int age; | |
154 }; | |
155 | |
156 void | 151 void |
157 array_unref(struct array *arr, const void *data) | 152 array_unref(struct array *arr, const void *data) |
158 { | 153 { |
159 void *elm; | 154 void *elm; |
160 int i; | 155 int i; |