Fixed fatal super bug

Sat, 31 Dec 2011 18:04:28 +0100

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Sat, 31 Dec 2011 18:04:28 +0100
changeset 6
50b5fe7c577f
parent 5
a1740117e2b7
child 7
68091406d1cf

Fixed fatal super bug

ucx/list.h file | annotate | diff | comparison | revisions
--- a/ucx/list.h	Sat Dec 31 17:54:52 2011 +0100
+++ b/ucx/list.h	Sat Dec 31 18:04:28 2011 +0100
@@ -5,6 +5,9 @@
 #ifndef LIST_H
 #define	LIST_H
 
+#include "ucx.h"
+#include <stddef.h>
+
 #ifdef	__cplusplus
 extern "C" {
 #endif
@@ -15,12 +18,13 @@
     UcxList *next;
 };
 
-UcxList *ucx_dlist_append(UcxList *l, void *data);
-UcxList *ucx_dlist_prepend(UcxList *l, void *data);
-UcxList *ucx_dlist_concat(UcxList *l1, UcxDlist *l2);
-UcxList *ucx_dlist_last(UcxList *l);
-UcxList *ucx_dlist_get(UcxList *l, int index);
-size_t *ucx_dlist_size(UcxList *l);
+UcxList *ucx_list_append(UcxList *l, void *data);
+UcxList *ucx_list_prepend(UcxList *l, void *data);
+UcxList *ucx_list_concat(UcxList *l1, UcxDlist *l2);
+UcxList *ucx_list_last(UcxList *l);
+UcxList *ucx_list_get(UcxList *l, int index);
+size_t ucx_list_size(UcxList *l);
+void ucx_list_foreach(UcxList *l, ucx_callback fnc, void *data);
 
 
 #ifdef	__cplusplus

mercurial