summaryrefslogtreecommitdiff
path: root/README.EXT.ja
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-09-19 04:55:21 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-09-19 04:55:21 (GMT)
commit990845662cd4284a73ecc926c33cd1c8efb82354 (patch)
tree338ef570be0c047ce623afc9c4cac96446f6b7de /README.EXT.ja
parent445086e56b4c847610506cf6bb072ef928329355 (diff)
README.EXT: utf-8 string functions
* README.EXT (String Functions): rb_utf8_str_new() and rb_utf8_str_new_cstr(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'README.EXT.ja')
-rw-r--r--README.EXT.ja5
1 files changed, 5 insertions, 0 deletions
diff --git a/README.EXT.ja b/README.EXT.ja
index 0ab61ab..8027512 100644
--- a/README.EXT.ja
+++ b/README.EXT.ja
@@ -257,6 +257,11 @@ rb_usascii_str_new_cstr(const char *ptr)
エンコーディングがUS-ASCIIのRubyの文字列を生成する.
+rb_utf8_str_new(const char *ptr, long len)
+rb_utf8_str_new_cstr(const char *ptr)
+
+ エンコーディングがUTF-8のRubyの文字列を生成する.
+
rb_str_resize(VALUE str, long len)
Rubyの文字列のサイズをlenバイトに変更する.strの長さは前