1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* ext/json/ext/generator/generator.c: Documention patch by okkez.

[Bug #2075]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2009-09-26 20:37:06 +00:00
parent 036c701bad
commit e662770dc9
2 changed files with 9 additions and 3 deletions

View file

@ -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.

View file

@ -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)