mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
[DOC] Use RDoc inclusions in transcode.c
This commit is contained in:
parent
4617b40f8b
commit
468ce1488d
Notes:
git
2023-01-16 04:39:23 +00:00
3 changed files with 49 additions and 52 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue