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 |