Add _hash, _equal_p, _out_str, _in_str, _get_str, _parse_str
for intrusive list.
This commit is contained in:
1 parent
4f3dad4bea
commit
c87696f5c1
3 files changed
+8
-2
No files matched your search
+5
-1
@@ -26,6 +26,7 @@
|
||||
#define MSTARLIB_I_LIST_H
|
||||
|
||||
#include "m-core.h"
|
||||
#include "m-list.h" // For LISTI_ITBASE_DEF
|
||||
|
||||
/* Interface to add to a structure to enable intrusive doubly-linked support.
|
||||
name: name of the intrusive list.
|
||||
@@ -587,5 +588,8 @@ typedef struct ilist_head_s {
|
||||
it->prev = next; \
|
||||
ILISTI_CONTRACT(name, list); \
|
||||
} \
|
||||
|
||||
\
|
||||
LISTI_ITBASE_DEF(name, type, oplist, list_t, list_it_t)
|
||||
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user