Rename functions for avoinding symbol confiliction.

Add prefix(mrb) to noregexp() and regexp_check().
This commit is contained in:
Tatsuhiko Kubo
2014-08-28 19:18:52 +09:00
parent d958aa2cb1
commit db29a25ada
3 changed files with 19 additions and 19 deletions
+2 -2
View File
@@ -107,8 +107,8 @@ mrb_int mrb_str_hash(mrb_state *mrb, mrb_value str);
mrb_value mrb_str_dump(mrb_state *mrb, mrb_value str);
mrb_value mrb_str_inspect(mrb_state *mrb, mrb_value str);
void noregexp(mrb_state *mrb, mrb_value self);
void regexp_check(mrb_state *mrb, mrb_value obj);
void mrb_noregexp(mrb_state *mrb, mrb_value self);
void mrb_regexp_check(mrb_state *mrb, mrb_value obj);
/* For backward compatibility */
#define mrb_str_cat2(mrb, str, ptr) mrb_str_cat_cstr(mrb, str, ptr)