summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2012-08-25 19:52:21 -0700
committerYukihiro "Matz" Matsumoto <[email protected]>2012-08-25 19:52:21 -0700
commita2b62a649d4c439ae0a69df27590591331e83778 (patch)
treeb2407a808710677cbc1af40372713e791f832b18 /include
parent15725eb4f6dc67de626fe5822d77312d7ab8994a (diff)
parent42fa994e9b6e717ebed88090c4bae3b1d736c1a9 (diff)
downloadmruby-a2b62a649d4c439ae0a69df27590591331e83778.tar.gz
mruby-a2b62a649d4c439ae0a69df27590591331e83778.zip
Merge pull request #440 from masamitsu-murase/request_publish_mrb_hash_delete_key
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. */