diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | ext/json/ext/generator/generator.c | 6 |
2 files changed, 9 insertions, 3 deletions
@@ -1,3 +1,8 @@ +Sun Sep 27 05:35:17 2009 NARUSE, Yui <naruse@ruby-lang.org> + + * ext/json/ext/generator/generator.c: Documention patch by okkez. + [Bug #2075] + Sun Sep 27 04:20:55 2009 NARUSE, Yui <naruse@ruby-lang.org> * string.c (rb_str_inspect): result's encoding should be fixed. @@ -7,6 +12,7 @@ Sun Sep 27 04:20:55 2009 NARUSE, Yui <naruse@ruby-lang.org> US-ASCII. Characters in ASCII-incompatible encoding or non ASCII characters in other than the encoding will be \xXX escaped. + [ruby-dev:39343] * string.c (str_buf_cat2): defined. diff --git a/ext/json/ext/generator/generator.c b/ext/json/ext/generator/generator.c index 94e59f77fc..c6c63c1a5e 100644 --- a/ext/json/ext/generator/generator.c +++ b/ext/json/ext/generator/generator.c @@ -409,7 +409,7 @@ static VALUE mString_Extend_json_create(VALUE self, VALUE o) { } /* - * call-seq: to_json(state = nil, depth = 0) + * call-seq: to_json(*) * * Returns a JSON string for true: 'true'. */ @@ -421,7 +421,7 @@ static VALUE mTrueClass_to_json(int argc, VALUE *argv, VALUE self) } /* - * call-seq: to_json(state = nil, depth = 0) + * call-seq: to_json(*) * * Returns a JSON string for false: 'false'. */ @@ -433,7 +433,7 @@ static VALUE mFalseClass_to_json(int argc, VALUE *argv, VALUE self) } /* - * call-seq: to_json(state = nil, depth = 0) + * call-seq: to_json(*) * */ static VALUE mNilClass_to_json(int argc, VALUE *argv, VALUE self) |