move KHASH_DECLARE to header files

This commit is contained in:
Yukihiro Matsumoto
2012-06-21 11:04:36 +09:00
parent 8b8151a60e
commit 396397bce1
6 changed files with 60 additions and 46 deletions
-6
View File
@@ -216,12 +216,6 @@ static inline khint_t __ac_X31_hash_string(const char *s)
typedef const char *kh_cstr_t;
/* declare common hash types. */
#include "mruby.h"
KHASH_DECLARE(mt, mrb_sym, struct RProc*, 1)
KHASH_DECLARE(iv, mrb_sym, mrb_value, 1)
#if defined(__cplusplus)
} /* extern "C" { */
#endif