diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-11-28 09:37:19 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-11-28 09:37:19 +0000 |
commit | 196e8b4480a2221c1d3bbccc80ad693d725bb758 (patch) | |
tree | 3b37a2de7e892953bd12e06f531d29bd1ead4206 /string.c | |
parent | ad619e02c465eebd15fa57dc658f8e042decdebb (diff) |
string.c: enable rdoc
* string.c (rb_str_casecmp_p): [DOC] move forward declaration of
rb_str_downcase to enable rdoc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56913 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'string.c')
-rw-r--r-- | string.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -174,6 +174,7 @@ static VALUE str_new_frozen(VALUE klass, VALUE orig); static VALUE str_new_static(VALUE klass, const char *ptr, long len, int encindex); static void str_make_independent_expand(VALUE str, long len, long expand, const int termlen); static inline void str_modifiable(VALUE str); +static VALUE rb_str_downcase(int argc, VALUE *argv, VALUE str); static inline void str_make_independent(VALUE str) @@ -3207,8 +3208,6 @@ rb_str_casecmp(VALUE str1, VALUE str2) * "abcdef".casecmp("ABCDEF") #=> true */ - -static VALUE rb_str_downcase(int argc, VALUE *argv, VALUE str); /* forward declaration */ static VALUE rb_str_casecmp_p(VALUE str1, VALUE str2) { |