aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-04-10 15:26:48 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-04-10 15:26:48 +0000
commit2953d5f78d4664f6aec3d4bbea14ca6ee356684a (patch)
tree3c4264fffd6878177cbfae4bf436b0c9a56df9ed /doc
parente7153d7cab8df20cf6e5b5b488686220e768e5d2 (diff)
downloadruby-2953d5f78d4664f6aec3d4bbea14ca6ee356684a.tar.gz
extension.rdoc: fix rb_enc_str_new_literal
* doc/extension.rdoc: Add missing enc arg to rb_enc_str_new_literal. [ci skip] [Fix GH-1577] Author: Dylan Thacker-Smith <Dylan.Smith@shopify.com> git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58303 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'doc')
-rw-r--r--doc/extension.ja.rdoc2
-rw-r--r--doc/extension.rdoc2
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/extension.ja.rdoc b/doc/extension.ja.rdoc
index 5ae96a96ae..30f1b566d3 100644
--- a/doc/extension.ja.rdoc
+++ b/doc/extension.ja.rdoc
@@ -259,7 +259,7 @@ rb_enc_str_new_cstr(const char *ptr, rb_encoding *enc) ::
指定されたエンコーディングでRubyの文字列を生成する.
-rb_enc_str_new_literal(const char *ptr) ::
+rb_enc_str_new_literal(const char *ptr, rb_encoding *enc) ::
Cのリテラル文字列から指定されたエンコーディングでRubyの文字列を生成する.
diff --git a/doc/extension.rdoc b/doc/extension.rdoc
index 303c7a2c32..83be591aa7 100644
--- a/doc/extension.rdoc
+++ b/doc/extension.rdoc
@@ -233,7 +233,7 @@ rb_enc_str_new_cstr(const char *ptr, rb_encoding *enc) ::
Creates a new Ruby string with the specified encoding.
-rb_enc_str_new_literal(const char *ptr) ::
+rb_enc_str_new_literal(const char *ptr, rb_encoding *enc) ::
Creates a new Ruby string from a C string literal with the specified
encoding.