diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2019-03-26 10:23:52 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2019-03-26 10:23:52 +0900 |
| commit | c2660b8111cd6cd98a41aa257c503cbd3a7cf881 (patch) | |
| tree | 24821c5131ec3819fc83c3668b06ce2214b52689 /src/kernel.c | |
| parent | a5a6b51126875e578ef1834c8af06141934df7dd (diff) | |
| download | mruby-c2660b8111cd6cd98a41aa257c503cbd3a7cf881.tar.gz mruby-c2660b8111cd6cd98a41aa257c503cbd3a7cf881.zip | |
Fix missing `MRB_API` prefix for functions below; clse #4267
Functions to add prototypes to headers:
* mrb_ary_splice()
* mrb_notimplement()
* mrb_vformat()
* mrb_cstr_to_dbl()
* mrb_cstr_to_inum()
Functions to be made `static` (`MRB_API` was not needed):
* mrb_mod_module_function()
* mrb_obj_hash()
* mrb_str_len_to_inum()
Functions to remove `MRB_API` from definitions (referenced from within `libmruby`):
* mrb_mod_cv_defined()
* mrb_mod_cv_get()
* mrb_f_send()
Diffstat (limited to 'src/kernel.c')
| -rw-r--r-- | src/kernel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel.c b/src/kernel.c index 8845cbce6..7890e3dac 100644 --- a/src/kernel.c +++ b/src/kernel.c @@ -492,7 +492,7 @@ mrb_obj_frozen(mrb_state *mrb, mrb_value self) * <code>Hash</code>. Any hash value that exceeds the capacity of a * <code>Fixnum</code> will be truncated before being used. */ -MRB_API mrb_value +static mrb_value mrb_obj_hash(mrb_state *mrb, mrb_value self) { return mrb_fixnum_value(mrb_obj_id(self)); |
