summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authordearblue <[email protected]>2019-09-29 23:44:31 +0900
committerdearblue <[email protected]>2019-09-29 23:55:38 +0900
commit40e8a90e8985ea875e6038e8d16706a594a412f7 (patch)
treee5f3b6c704b5b512bc5fc9500e5ec13f0c1bcc9a /include
parent4621907fcad68ca43f9435c0dcaea9238c55e16e (diff)
downloadmruby-40e8a90e8985ea875e6038e8d16706a594a412f7.tar.gz
mruby-40e8a90e8985ea875e6038e8d16706a594a412f7.zip
Remove unnecessary type `mrb_hash_value`
The type `mrb_hash_value` is no longer used by the segmented list implementation (ref e8dcfe1 and e65d426).
Diffstat (limited to 'include')
-rw-r--r--include/mruby/hash.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/mruby/hash.h b/include/mruby/hash.h
index e75a769fd..0052a1105 100644
--- a/include/mruby/hash.h
+++ b/include/mruby/hash.h
@@ -197,13 +197,6 @@ MRB_API mrb_value mrb_hash_dup(mrb_state *mrb, mrb_value hash);
*/
MRB_API void mrb_hash_merge(mrb_state *mrb, mrb_value hash1, mrb_value hash2);
-/* declaration of struct mrb_hash_value */
-/* be careful when you touch the internal */
-typedef struct {
- mrb_value v;
- mrb_int n;
-} mrb_hash_value;
-
/* RHASH_TBL allocates st_table if not available. */
#define RHASH(obj) ((struct RHash*)(mrb_ptr(obj)))
#define RHASH_TBL(h) (RHASH(h)->ht)