summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Frank <flori@ping.de>2009-11-20 17:58:44 +0100
committerFlorian Frank <flori@ping.de>2009-11-20 17:58:44 +0100
commit2f5a78ad1ff32d19d63699729e95880a16a5ff36 (patch)
tree0f228aaa7e57670546e5bedc34772dbf7711172f
parent91f753f05945f47fc0a54675e227179b3e247650 (diff)
downloadjson-2f5a78ad1ff32d19d63699729e95880a16a5ff36.tar.gz
comment init_copy
-rw-r--r--ext/json/ext/generator.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/ext/json/ext/generator.c b/ext/json/ext/generator.c
index 3c66920..a3fd465 100644
--- a/ext/json/ext/generator.c
+++ b/ext/json/ext/generator.c
@@ -996,7 +996,11 @@ static VALUE cState_initialize(int argc, VALUE *argv, VALUE self)
return self;
}
-/* XXX
+/*
+ * call-seq: initialize_copy(orig)
+ *
+ * Initializes this object from orig if it to be duplicated/cloned and returns
+ * it.
*/
static VALUE cState_init_copy(VALUE obj, VALUE orig)
{