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
     1.1 --- a/ucx/list.h	Sat Dec 31 17:54:52 2011 +0100
     1.2 +++ b/ucx/list.h	Sat Dec 31 18:04:28 2011 +0100
     1.3 @@ -5,6 +5,9 @@
     1.4  #ifndef LIST_H
     1.5  #define	LIST_H
     1.6  
     1.7 +#include "ucx.h"
     1.8 +#include <stddef.h>
     1.9 +
    1.10  #ifdef	__cplusplus
    1.11  extern "C" {
    1.12  #endif
    1.13 @@ -15,12 +18,13 @@
    1.14      UcxList *next;
    1.15  };
    1.16  
    1.17 -UcxList *ucx_dlist_append(UcxList *l, void *data);
    1.18 -UcxList *ucx_dlist_prepend(UcxList *l, void *data);
    1.19 -UcxList *ucx_dlist_concat(UcxList *l1, UcxDlist *l2);
    1.20 -UcxList *ucx_dlist_last(UcxList *l);
    1.21 -UcxList *ucx_dlist_get(UcxList *l, int index);
    1.22 -size_t *ucx_dlist_size(UcxList *l);
    1.23 +UcxList *ucx_list_append(UcxList *l, void *data);
    1.24 +UcxList *ucx_list_prepend(UcxList *l, void *data);
    1.25 +UcxList *ucx_list_concat(UcxList *l1, UcxDlist *l2);
    1.26 +UcxList *ucx_list_last(UcxList *l);
    1.27 +UcxList *ucx_list_get(UcxList *l, int index);
    1.28 +size_t ucx_list_size(UcxList *l);
    1.29 +void ucx_list_foreach(UcxList *l, ucx_callback fnc, void *data);
    1.30  
    1.31  
    1.32  #ifdef	__cplusplus

mercurial