diff options
-rw-r--r-- | doc/extension.ja.rdoc | 2 | ||||
-rw-r--r-- | doc/extension.rdoc | 2 |
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. |