From 2953d5f78d4664f6aec3d4bbea14ca6ee356684a Mon Sep 17 00:00:00 2001 From: nobu Date: Mon, 10 Apr 2017 15:26:48 +0000 Subject: 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 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58303 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- doc/extension.ja.rdoc | 2 +- doc/extension.rdoc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'doc') 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. -- cgit v1.2.3