src/cx/list.h

changeset 704
35f06c5eeb0e
parent 699
35b2b99ee523
child 708
1caed6c9ba68
equal deleted inserted replaced
703:425d4279856f 704:35f06c5eeb0e
630 * @param list the list which shall be destroyed 630 * @param list the list which shall be destroyed
631 */ 631 */
632 __attribute__((__nonnull__)) 632 __attribute__((__nonnull__))
633 void cxListDestroy(CxList *list); 633 void cxListDestroy(CxList *list);
634 634
635 /**
636 * A shared instance of an empty list.
637 *
638 * Writing to that list is undefined.
639 */
640 extern CxList * const cxEmptyList;
641
642
635 #ifdef __cplusplus 643 #ifdef __cplusplus
636 } // extern "C" 644 } // extern "C"
637 #endif 645 #endif
638 646
639 #endif // UCX_LIST_H 647 #endif // UCX_LIST_H

mercurial