@@ -143,13 +143,13 @@ typedef unsigned long khint64_t;
143143typedef unsigned long long khint64_t ;
144144#endif
145145
146- #ifndef kh_inline
146+ #ifndef klib_inline
147147#ifdef _MSC_VER
148- #define kh_inline __inline
148+ #define klib_inline __inline
149149#else
150- #define kh_inline inline
150+ #define klib_inline inline
151151#endif
152- #endif /* kh_inline */
152+ #endif /* klib_inline */
153153
154154#ifndef klib_unused
155155#if (defined __clang__ && __clang_major__ >= 3 ) || (defined __GNUC__ && __GNUC__ >= 3 )
@@ -363,7 +363,7 @@ static const double __ac_HASH_UPPER = 0.77;
363363 __KHASH_IMPL(name, SCOPE, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
364364
365365#define KHASH_INIT (name , khkey_t , khval_t , kh_is_map , __hash_func , __hash_equal ) \
366- KHASH_INIT2(name, static kh_inline klib_unused, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
366+ KHASH_INIT2(name, static klib_inline klib_unused, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)
367367
368368/* --- BEGIN OF HASH FUNCTIONS --- */
369369
@@ -392,7 +392,7 @@ static const double __ac_HASH_UPPER = 0.77;
392392 @param s Pointer to a null terminated string
393393 @return The hash value
394394 */
395- static kh_inline khint_t __ac_X31_hash_string (const char * s )
395+ static klib_inline khint_t __ac_X31_hash_string (const char * s )
396396{
397397 khint_t h = (khint_t )* s ;
398398 if (h ) for (++ s ; * s ; ++ s ) h = (h << 5 ) - h + (khint_t )* s ;
@@ -409,7 +409,7 @@ static kh_inline khint_t __ac_X31_hash_string(const char *s)
409409 */
410410#define kh_str_hash_equal (a , b ) (strcmp(a, b) == 0)
411411
412- static kh_inline khint_t __ac_Wang_hash (khint_t key )
412+ static klib_inline khint_t __ac_Wang_hash (khint_t key )
413413{
414414 key += ~(key << 15 );
415415 key ^= (key >> 10 );
0 commit comments