Protect key from being changed while iterating.
This commit is contained in:
1 parent
052989a5a2
commit
4b71bbec7e
1 file changed
+1
-1
+1
-1
@@ -338,7 +338,7 @@
|
|||||||
separated in their own array in the node, it is pointers to \
|
separated in their own array in the node, it is pointers to \
|
||||||
the objects, not a global pointer to both objects. */ \
|
the objects, not a global pointer to both objects. */ \
|
||||||
typedef struct M_C(name, _pair_s) { \
|
typedef struct M_C(name, _pair_s) { \
|
||||||
key_t *key_ptr; \
|
key_t const *key_ptr; \
|
||||||
value_t *value_ptr; \
|
value_t *value_ptr; \
|
||||||
} subtype_t; \
|
} subtype_t; \
|
||||||
, \
|
, \
|
||||||
|
|||||||
Reference in new issue
Block a user