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:
parent
036c701bad
commit
e662770dc9
2 changed files with 9 additions and 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.
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue