[DOC] Use RDoc inclusions in transcode.c

This commit is contained in:
Nobuyoshi Nakada 2023-01-15 22:19:20 +09:00
parent 4617b40f8b
commit 468ce1488d
Notes: git 2023-01-16 04:39:23 +00:00
3 changed files with 49 additions and 52 deletions

View file

@ -2872,6 +2872,15 @@ str_encode_bang(int argc, VALUE *argv, VALUE str)
static VALUE encoded_dup(VALUE newstr, VALUE str, int encidx);
/*
* call-seq:
* encode(dst_encoding = Encoding.default_internal, **enc_opts) -> string
* encode(dst_encoding, src_encoding, **enc_opts) -> string
*
* :include: doc/string/encode.rdoc
*
*/
static VALUE
str_encode(int argc, VALUE *argv, VALUE str)
{