#define hashmap_new(ops) _hashmap_new(ops HASHMAP_DEBUG_SRC_ARGS)
#define ordered_hashmap_new(ops) _ordered_hashmap_new(ops HASHMAP_DEBUG_SRC_ARGS)
-#define hashmap_free_and_replace(a, b) \
+#define hashmap_free_and_replace(a, b) \
free_and_replace_full(a, b, hashmap_free)
+#define ordered_hashmap_free_and_replace(a, b) \
+ free_and_replace_full(a, b, ordered_hashmap_free)
HashmapBase* _hashmap_free(HashmapBase *h, free_func_t default_free_key, free_func_t default_free_value);
static inline Hashmap* hashmap_free(Hashmap *h) {