summaryrefslogtreecommitdiffhomepage
path: root/src/khash.c
diff options
context:
space:
mode:
authorYukihiro Matsumoto <[email protected]>2012-06-21 10:01:17 +0900
committerYukihiro Matsumoto <[email protected]>2012-06-21 10:01:17 +0900
commit78423105736d650e4136e7d44175059ce7ee7411 (patch)
treea2ad84e377b9cb2da21c0601e42c0b10a0c71ea8 /src/khash.c
parente61bdbe3960aa471a8b4e5d8a89614d1433959aa (diff)
parentcd68190480785430b8e350d9a5d2127ab04e1074 (diff)
downloadmruby-78423105736d650e4136e7d44175059ce7ee7411.tar.gz
mruby-78423105736d650e4136e7d44175059ce7ee7411.zip
Merge branch 'modify_khash' of https://github.com/crimsonwoods/mruby into crimsonwoods-modify_khash
Diffstat (limited to 'src/khash.c')
-rw-r--r--src/khash.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/khash.c b/src/khash.c
new file mode 100644
index 000000000..7ea09cfe7
--- /dev/null
+++ b/src/khash.c
@@ -0,0 +1,5 @@
+#include "mruby/khash.h"
+
+KHASH_DEFINE(mt, mrb_sym, struct RProc*, 1, kh_int_hash_func, kh_int_hash_equal)
+KHASH_DEFINE(iv, mrb_sym, mrb_value, 1, kh_int_hash_func, kh_int_hash_equal)
+