diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-08-29 01:09:33 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-08-29 01:09:33 +0900 |
| commit | 9e4b0124781454e130e5f8e6a29d292d9711d8bf (patch) | |
| tree | 77631e4e3005c066a6f3862d9b6425b944067fc2 /include | |
| parent | 15b9771abc985028ec7910726f058e975504a1f0 (diff) | |
| parent | db29a25ada6f8e344f63586328a7c45ef6bcc67d (diff) | |
| download | mruby-9e4b0124781454e130e5f8e6a29d292d9711d8bf.tar.gz mruby-9e4b0124781454e130e5f8e6a29d292d9711d8bf.zip | |
Merge pull request #2570 from cubicdaiya/issues/unify_duplicated_functions
Unify and rename duplicated functions (noregexp() and regexp_check()).
Diffstat (limited to 'include')
| -rw-r--r-- | include/mruby/string.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/mruby/string.h b/include/mruby/string.h index 3768b0fba..5228dcbca 100644 --- a/include/mruby/string.h +++ b/include/mruby/string.h @@ -107,6 +107,9 @@ 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 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) #define mrb_str_buf_cat(mrb, str, ptr, len) mrb_str_cat(mrb, str, ptr, len) |
