add MRB_API modifiers to mruby API functions

This commit is contained in:
Yukihiro "Matz" Matsumoto
2014-08-04 00:47:08 +09:00
parent 0878900fda
commit 206f89e209
40 changed files with 532 additions and 522 deletions
+1 -1
View File
@@ -124,7 +124,7 @@ enum mrb_vtype {
#define mrb_cptr_p(o) (mrb_type(o) == MRB_TT_CPTR)
#define mrb_exception_p(o) (mrb_type(o) == MRB_TT_EXCEPTION)
#define mrb_test(o) mrb_bool(o)
mrb_bool mrb_regexp_p(struct mrb_state*, mrb_value);
MRB_API mrb_bool mrb_regexp_p(struct mrb_state*, mrb_value);
static inline mrb_value
mrb_float_value(struct mrb_state *mrb, mrb_float f)