vendor/libgit2/src/strmap.h in rugged-0.22.2 vs vendor/libgit2/src/strmap.h in rugged-0.23.0b1

- old
+ new

@@ -10,13 +10,14 @@ #include "common.h" #define kmalloc git__malloc #define kcalloc git__calloc #define krealloc git__realloc +#define kreallocarray git__reallocarray #define kfree git__free #include "khash.h" -__KHASH_TYPE(str, const char *, void *); +__KHASH_TYPE(str, const char *, void *) typedef khash_t(str) git_strmap; typedef khiter_t git_strmap_iter; #define GIT__USE_STRMAP \ __KHASH_IMPL(str, static kh_inline, const char *, void *, 1, kh_str_hash_func, kh_str_hash_equal)