summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorMasamitsu MURASE <[email protected]>2012-08-26 04:17:56 +0900
committerMasamitsu MURASE <[email protected]>2012-08-26 04:17:56 +0900
commit42fa994e9b6e717ebed88090c4bae3b1d736c1a9 (patch)
treeb2407a808710677cbc1af40372713e791f832b18 /include
parent15725eb4f6dc67de626fe5822d77312d7ab8994a (diff)
downloadmruby-42fa994e9b6e717ebed88090c4bae3b1d736c1a9.tar.gz
mruby-42fa994e9b6e717ebed88090c4bae3b1d736c1a9.zip
Publish mrb_hash_delete_key.
Diffstat (limited to 'include')
-rw-r--r--include/mruby/hash.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mruby/hash.h b/include/mruby/hash.h
index 17a8c0931..7aab80f21 100644
--- a/include/mruby/hash.h
+++ b/include/mruby/hash.h
@@ -26,6 +26,7 @@ mrb_value mrb_hash_new(mrb_state *mrb);
void mrb_hash_set(mrb_state *mrb, mrb_value hash, mrb_value key, mrb_value val);
mrb_value mrb_hash_get(mrb_state *mrb, mrb_value hash, mrb_value key);
mrb_value mrb_hash_fetch(mrb_state *mrb, mrb_value hash, mrb_value key, mrb_value def);
+mrb_value mrb_hash_delete_key(mrb_state *mrb, mrb_value hash, mrb_value key);
mrb_value mrb_hash(mrb_state *mrb, mrb_value obj);
/* RHASH_TBL allocates st_table if not available. */