Update _insert functions to update
iterators as per new specification.
This commit is contained in:
1 parent
8c1eb1fcb5
commit
784c42d850
3 files changed
+4
No files matched your search
@@ -755,6 +755,7 @@
|
||||
{ \
|
||||
assert (it != NULL && a == it->array); \
|
||||
M_C(name, _push_at)(a, it->index + 1, x); \
|
||||
it->index ++; \
|
||||
} \
|
||||
, /* End of INIT_SET */ ) \
|
||||
\
|
||||
|
||||
@@ -481,6 +481,7 @@ typedef struct ilist_head_s {
|
||||
M_CALL_INIT_SET(oplist, *p, x); \
|
||||
type *obj = M_C(name, _ref)(it); \
|
||||
M_C(name, _push_after)(obj, p); \
|
||||
it->current = p; \
|
||||
(void) list; \
|
||||
ILISTI_CONTRACT(name, list); \
|
||||
} \
|
||||
|
||||
Reference in new issue
Block a user