mrubyを超漢字で動作させる
修訂 | 77aefa1d03588e9219dd69ace7a428d18db28a08 (tree) |
---|---|
時間 | 2014-07-03 22:56:15 |
作者 | take_cheeze <takechi101010@gmai...> |
Commiter | take_cheeze |
Always return non-NULL in mrb_hash_tbl.
@@ -265,7 +265,7 @@ mrb_hash_tbl(mrb_state *mrb, mrb_value hash) | ||
265 | 265 | khash_t(ht) *h = RHASH_TBL(hash); |
266 | 266 | |
267 | 267 | if (!h) { |
268 | - RHASH_TBL(hash) = kh_init(ht, mrb); | |
268 | + return RHASH_TBL(hash) = kh_init(ht, mrb); | |
269 | 269 | } |
270 | 270 | return h; |
271 | 271 | } |