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

update doc.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2012-04-24 13:52:13 +00:00
parent 7c346a46d3
commit a06cddb466

View file

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