summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-09-26 20:37:06 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-09-26 20:37:06 +0000
commite662770dc990a29c0182e8d043b6a5d72cc53f9c (patch)
tree4f538aa59d03bac41e9cfdd5c727c8e5c51a8de7
parent036c701bad168a86fd834c2b1a6ec102556963a0 (diff)
* 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
-rw-r--r--ChangeLog6
-rw-r--r--ext/json/ext/generator/generator.c6
2 files changed, 9 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 2b4b24850c..84e3a587a2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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)