diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2016-09-27 10:29:56 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2016-09-27 10:29:56 +0900 |
| commit | afbe211c606a79ccc3395c51eb70dd9e8a46849f (patch) | |
| tree | f20f27d8c319918be7171e46d093c2565a724912 /include | |
| parent | 6bc4b47c4666649c6a043697b00b4664b360b7e8 (diff) | |
| download | mruby-afbe211c606a79ccc3395c51eb70dd9e8a46849f.tar.gz mruby-afbe211c606a79ccc3395c51eb70dd9e8a46849f.zip | |
mrb_str_strlen() should be MRB_API; ref #3216
Diffstat (limited to 'include')
| -rw-r--r-- | include/mruby/string.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mruby/string.h b/include/mruby/string.h index b66bc0dd1..c4af0963e 100644 --- a/include/mruby/string.h +++ b/include/mruby/string.h @@ -76,7 +76,7 @@ struct RString { #define RSTRING_LEN(s) RSTR_LEN(RSTRING(s)) #define RSTRING_CAPA(s) RSTR_CAPA(RSTRING(s)) #define RSTRING_END(s) (RSTRING_PTR(s) + RSTRING_LEN(s)) -mrb_int mrb_str_strlen(mrb_state*, struct RString*); +MRB_API mrb_int mrb_str_strlen(mrb_state*, struct RString*); #define MRB_STR_SHARED 1 #define MRB_STR_NOFREE 2 |
