diff options
Diffstat (limited to 'lichen.h')
| -rw-r--r-- | lichen.h | 6 | 
1 files changed, 3 insertions, 3 deletions
| @@ -49,9 +49,9 @@ typedef struct li_ll_t {  struct li_ll_t * li_alloc_ll();  // free a linked list  void li_free_ll(struct li_ll_t *list, void (*free_data)(void*)); -void li_ll_append(struct li_ll_t *list, void *data); -void li_ll_prepend(struct li_ll_t *list, void *data); -struct li_ll_t * li_copy_list(struct li_ll_t *list); +int li_ll_append(struct li_ll_t *list, void *data); +int li_ll_prepend(struct li_ll_t *list, void *data); +int li_copy_list(struct li_ll_t **dst, struct li_ll_t *src, void *(*copy_data)(void*)); | 
