We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
mrb_int
int
mrb_hash_new_capa
1 parent b0f918d commit 667e788Copy full SHA for 667e788
include/mruby/hash.h
@@ -24,7 +24,7 @@ struct RHash {
24
#define mrb_hash_ptr(v) ((struct RHash*)(mrb_ptr(v)))
25
#define mrb_hash_value(p) mrb_obj_value((void*)(p))
26
27
-MRB_API mrb_value mrb_hash_new_capa(mrb_state*, int);
+MRB_API mrb_value mrb_hash_new_capa(mrb_state*, mrb_int);
28
29
/*
30
* Initializes a new hash.
src/hash.c
@@ -140,7 +140,7 @@ mrb_gc_free_hash(mrb_state *mrb, struct RHash *hash)
140
141
142
MRB_API mrb_value
143
-mrb_hash_new_capa(mrb_state *mrb, int capa)
+mrb_hash_new_capa(mrb_state *mrb, mrb_int capa)
144
{
145
struct RHash *h;
146
0 commit comments