summaryrefslogtreecommitdiff
path: root/transcode.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-04-24 13:52:13 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-04-24 13:52:13 +0000
commita06cddb466eafb046fcfdf0fd60684acb0b3d0a3 (patch)
tree41b6fef03b76c7aa4970ec3f66708a9b17d2d534 /transcode.c
parent7c346a46d34332e52baa762f2e0dca978db5f8cf (diff)
update doc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'transcode.c')
-rw-r--r--transcode.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/transcode.c b/transcode.c
index ac64fdf617..44f5d19a3f 100644
--- a/transcode.c
+++ b/transcode.c
@@ -3626,9 +3626,12 @@ econv_result_to_symbol(rb_econv_result_t res)
*
* primitive_convert stops conversion when one of following condition met.
* - invalid byte sequence found in source buffer (:invalid_byte_sequence)
+ * +primitive_errinfo+ and +last_error+ methods returns the detail of the error.
* - unexpected end of source buffer (:incomplete_input)
* this occur only when :partial_input is not specified.
+ * +primitive_errinfo+ and +last_error+ methods returns the detail of the error.
* - character not representable in output encoding (:undefined_conversion)
+ * +primitive_errinfo+ and +last_error+ methods returns the detail of the error.
* - after some output is generated, before input is done (:after_output)
* this occur only when :after_output is specified.
* - destination buffer is full (:destination_buffer_full)