diff --git a/flat__hash__map_8h.html b/flat__hash__map_8h.html index a01df5d..9af9ab4 100644 --- a/flat__hash__map_8h.html +++ b/flat__hash__map_8h.html @@ -148,12 +148,12 @@

Entry Interface

Obtain and operate on container entries for efficient queries when non-trivial control flow is needed.

-#define ccc_fhm_remove_r(flat_hash_map_ptr, out_handle_ptr) - Removes the key value in the map storing the old value, if present, in the struct containing out_handle_ptr provided by the user.
-  #define ccc_fhm_insert_r(flat_hash_map_ptr, out_handle_ptr)  Invariantly inserts the key value wrapping out_handle_ptr.
  +#define ccc_fhm_remove_r(flat_hash_map_ptr, out_handle_ptr) + Removes the key value in the map storing the old value, if present, in the struct containing out_handle_ptr provided by the user.
+  #define ccc_fhm_try_insert_r(flat_hash_map_ptr, key_val_handle_ptr)  Attempts to insert the key value wrapping key_val_handle_ptr.
  @@ -181,12 +181,12 @@ #define ccc_fhm_remove_entry_r(flat_hash_map_entry_ptr)  Remove the entry from the table if Occupied.
  -ccc_entry ccc_fhm_remove (ccc_flat_hash_map *h, ccc_fhmap_elem *out_handle) - Removes the key value in the map storing the old value, if present, in the struct containing out_handle provided by the user.
ccc_entry ccc_fhm_insert (ccc_flat_hash_map *h, ccc_fhmap_elem *out_handle)  Invariantly inserts the key value wrapping out_handle.
  +ccc_entry ccc_fhm_remove (ccc_flat_hash_map *h, ccc_fhmap_elem *out_handle) + Removes the key value in the map storing the old value, if present, in the struct containing out_handle provided by the user.
ccc_entry ccc_fhm_try_insert (ccc_flat_hash_map *h, ccc_fhmap_elem *key_val_handle)  Attempts to insert the key value wrapping key_val_handle.
  diff --git a/flat__hash__map_8h_source.html b/flat__hash__map_8h_source.html index f758107..c8919ac 100644 --- a/flat__hash__map_8h_source.html +++ b/flat__hash__map_8h_source.html @@ -117,22 +117,22 @@
86
91[[nodiscard]] void *ccc_fhm_get_key_val(ccc_flat_hash_map *h, void const *key);
92
-
110[[nodiscard]] ccc_entry ccc_fhm_remove(ccc_flat_hash_map *h,
+
110[[nodiscard]] ccc_entry ccc_fhm_insert(ccc_flat_hash_map *h,
111 ccc_fhmap_elem *out_handle);
112
-
123#define ccc_fhm_remove_r(flat_hash_map_ptr, out_handle_ptr) \
-
124 &(ccc_entry) \
-
125 { \
-
126 ccc_fhm_remove((flat_hash_map_ptr), (out_handle_ptr)).impl_ \
-
127 }
-
128
-
139[[nodiscard]] ccc_entry ccc_fhm_insert(ccc_flat_hash_map *h,
-
140 ccc_fhmap_elem *out_handle);
-
141
-
153#define ccc_fhm_insert_r(flat_hash_map_ptr, out_handle_ptr) \
+
124#define ccc_fhm_insert_r(flat_hash_map_ptr, out_handle_ptr) \
+
125 &(ccc_entry) \
+
126 { \
+
127 ccc_fhm_insert((flat_hash_map_ptr), (out_handle_ptr)).impl_ \
+
128 }
+
129
+
140[[nodiscard]] ccc_entry ccc_fhm_remove(ccc_flat_hash_map *h,
+
141 ccc_fhmap_elem *out_handle);
+
142
+
153#define ccc_fhm_remove_r(flat_hash_map_ptr, out_handle_ptr) \
154 &(ccc_entry) \
155 { \
-
156 ccc_fhm_insert((flat_hash_map_ptr), (out_handle_ptr)).impl_ \
+
156 ccc_fhm_remove((flat_hash_map_ptr), (out_handle_ptr)).impl_ \
157 }
158
168[[nodiscard]] ccc_entry ccc_fhm_try_insert(ccc_flat_hash_map *h,