[common] fix objectlist_push type

This commit is contained in:
Geoffrey McRae
2019-11-04 17:41:12 +11:00
parent 0851ae6f14
commit 6ed4e23b80
3 changed files with 4 additions and 4 deletions

View File

@@ -25,7 +25,7 @@ typedef void (*ObjectFreeFn)(void * object);
ObjectList objectlist_new (ObjectFreeFn free_fn);
void objectlist_free (ObjectList * sl);
int objectlist_push (ObjectList sl, char * str);
int objectlist_push (ObjectList sl, void * object);
unsigned int objectlist_count(ObjectList sl);
char * objectlist_at (ObjectList sl, unsigned int index);