From: Heng Li Date: Sat, 29 Nov 2014 02:04:38 +0000 (-0500) Subject: give kh_##name##_t a struct name X-Git-Url: http://www.kaiwu.me/postgresql/commit/?a=commitdiff_plain;h=7163c2137856c22bebce87fd8f68a37fbb84a430;p=klib.git give kh_##name##_t a struct name --- diff --git a/khash.h b/khash.h index d3b461f..5e55088 100644 --- a/khash.h +++ b/khash.h @@ -184,7 +184,7 @@ typedef khint_t khiter_t; static const double __ac_HASH_UPPER = 0.77; #define __KHASH_TYPE(name, khkey_t, khval_t) \ - typedef struct { \ + typedef struct kh_##name##_s { \ khint_t n_buckets, size, n_occupied, upper_bound; \ khint32_t *flags; \ khkey_t *keys; \