src/list.c

changeset 404
86ebc3745e62
parent 401
e6a8f7fb0c45
child 435
0fe204d50f54
     1.1 --- a/src/list.c	Sun Feb 07 21:14:39 2021 +0100
     1.2 +++ b/src/list.c	Sun Feb 07 21:26:48 2021 +0100
     1.3 @@ -43,3 +43,7 @@
     1.4  size_t cxListFind(CxList list, void *elem) {
     1.5      return list->cl->find(&list->data, elem);
     1.6  }
     1.7 +
     1.8 +void *cxListLast(CxList list) {
     1.9 +    return list->cl->last(&list->data);
    1.10 +}

mercurial