summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorTatsuhiko Kubo <[email protected]>2014-08-28 19:18:52 +0900
committerTatsuhiko Kubo <[email protected]>2014-08-28 19:18:52 +0900
commitdb29a25ada6f8e344f63586328a7c45ef6bcc67d (patch)
treeb51640e01e99ebc8d35745ffc486bb42c95e91c2 /include
parentd958aa2cb1c250cb20e444f834773af311810908 (diff)
downloadmruby-db29a25ada6f8e344f63586328a7c45ef6bcc67d.tar.gz
mruby-db29a25ada6f8e344f63586328a7c45ef6bcc67d.zip
Rename functions for avoinding symbol confiliction.
Add prefix(mrb) to noregexp() and regexp_check().
Diffstat (limited to 'include')
-rw-r--r--include/mruby/string.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/mruby/string.h b/include/mruby/string.h
index ef69b5a75..a39f1ab5e 100644
--- a/include/mruby/string.h
+++ b/include/mruby/string.h
@@ -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)