src/cx/list.h

changeset 704
35f06c5eeb0e
parent 699
35b2b99ee523
child 708
1caed6c9ba68
     1.1 --- a/src/cx/list.h	Sun May 21 11:52:58 2023 +0200
     1.2 +++ b/src/cx/list.h	Sun May 21 14:03:21 2023 +0200
     1.3 @@ -632,6 +632,14 @@
     1.4  __attribute__((__nonnull__))
     1.5  void cxListDestroy(CxList *list);
     1.6  
     1.7 +/**
     1.8 + * A shared instance of an empty list.
     1.9 + *
    1.10 + * Writing to that list is undefined.
    1.11 + */
    1.12 +extern CxList * const cxEmptyList;
    1.13 +
    1.14 +
    1.15  #ifdef __cplusplus
    1.16  } // extern "C"
    1.17  #endif

mercurial