summaryrefslogtreecommitdiff
path: root/doc/extension.rdoc
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
commit85f62055c452b93c8e7ccab8bdea2ce7919f4e43 (patch)
tree3c4264fffd6878177cbfae4bf436b0c9a56df9ed /doc/extension.rdoc
parentacafc5e0c7aa4695db06cc6cbe98e26ec600b60a (diff)
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/extension.rdoc')
-rw-r--r--doc/extension.rdoc2
1 files changed, 1 insertions, 1 deletions
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.