aboutsummaryrefslogtreecommitdiffstats
path: root/README.EXT.ja
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-09-03 13:03:54 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-09-03 13:03:54 +0000
commit5669902126ec202d2cb482e6d15c0c28bc6025cd (patch)
tree3512b669204ad8c6fcd5255fbff0e2278a61b241 /README.EXT.ja
parentad6731b0f9a3e41fac176f90ed5c2cbb43618433 (diff)
downloadruby-5669902126ec202d2cb482e6d15c0c28bc6025cd.tar.gz
string.c: rb_enc_str_new_cstr
* string.c (rb_enc_str_new_cstr): new function to create a string from the C-string pointer with the specified encoding. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42811 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'README.EXT.ja')
-rw-r--r--README.EXT.ja1
1 files changed, 1 insertions, 0 deletions
diff --git a/README.EXT.ja b/README.EXT.ja
index cd7fda5a4f..d4d1e61980 100644
--- a/README.EXT.ja
+++ b/README.EXT.ja
@@ -245,6 +245,7 @@ rb_str_vcatf(VALUE str, const char* format, va_list ap)
rb_str_cat2(str, rb_vsprintf(format, ap)) と同等である.
rb_enc_str_new(const char *ptr, long len, rb_encoding *enc)
+rb_enc_str_new_cstr(const char *ptr, rb_encoding *enc)
指定されたエンコーディングでRubyの文字列を生成する.