diff options
| author | KOBAYASHI Shuji <[email protected]> | 2019-07-15 07:39:57 +0900 |
|---|---|---|
| committer | KOBAYASHI Shuji <[email protected]> | 2019-07-15 07:43:46 +0900 |
| commit | 9093f3403f76b0a70d2b29b6c04ca7f203c242e6 (patch) | |
| tree | ec437b87d248fbebf4ec0ad8f883aa9851f524ec /include | |
| parent | 380805ece257147275bbed3eb83277f374296d9a (diff) | |
| download | mruby-9093f3403f76b0a70d2b29b6c04ca7f203c242e6.tar.gz mruby-9093f3403f76b0a70d2b29b6c04ca7f203c242e6.zip | |
Add `MRB_API` to `mrb_str_modify_keep_ascii()`
Diffstat (limited to 'include')
| -rw-r--r-- | include/mruby/string.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/mruby/string.h b/include/mruby/string.h index 4615b4384..77f6becf6 100644 --- a/include/mruby/string.h +++ b/include/mruby/string.h @@ -108,6 +108,8 @@ MRB_API mrb_int mrb_str_strlen(mrb_state*, struct RString*); void mrb_gc_free_str(mrb_state*, struct RString*); +MRB_API void mrb_str_modify_keep_ascii(mrb_state *mrb, struct RString *s); + /* * Finds the index of a substring in a string */ @@ -453,7 +455,6 @@ mrb_value mrb_str_inspect(mrb_state *mrb, mrb_value str); mrb_bool mrb_str_beg_len(mrb_int str_len, mrb_int *begp, mrb_int *lenp); mrb_value mrb_str_byte_subseq(mrb_state *mrb, mrb_value str, mrb_int beg, mrb_int len); -void mrb_str_modify_keep_ascii(mrb_state *mrb, struct RString *s); MRB_INLINE void mrb_str_modify(mrb_state *mrb, struct RString *s) |
