src/cx/list.h

changeset 704
35f06c5eeb0e
parent 699
35b2b99ee523
child 708
1caed6c9ba68
--- a/src/cx/list.h	Sun May 21 11:52:58 2023 +0200
+++ b/src/cx/list.h	Sun May 21 14:03:21 2023 +0200
@@ -632,6 +632,14 @@
 __attribute__((__nonnull__))
 void cxListDestroy(CxList *list);
 
+/**
+ * A shared instance of an empty list.
+ *
+ * Writing to that list is undefined.
+ */
+extern CxList * const cxEmptyList;
+
+
 #ifdef __cplusplus
 } // extern "C"
 #endif

mercurial