diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-04-10 15:34:37 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-04-10 15:34:37 +0000 |
commit | 9adc876393dfbde97bb01d3bb070872a8a949e6d (patch) | |
tree | 23f6b9f1b01f76fdb190d943465995788cc2d9df /doc/extension.ja.rdoc | |
parent | 0e96a0c3054a9e1cd62c1368e9522619ef57220b (diff) |
extension.rdoc: rb_str_append [ci skip]
* doc/extension.rdoc: add rb_str_append and fix equivalent for
rb_str_catf and rb_str_vcatf from rb_str_cat2.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58306 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'doc/extension.ja.rdoc')
-rw-r--r-- | doc/extension.ja.rdoc | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/doc/extension.ja.rdoc b/doc/extension.ja.rdoc index 30f1b566d3..4f79186f92 100644 --- a/doc/extension.ja.rdoc +++ b/doc/extension.ja.rdoc @@ -226,6 +226,10 @@ rb_tainted_str_new_cstr(const char *ptr) :: Cの文字列から汚染マークが付加されたRubyの文字列を生成する. +rb_str_append(VALUE str1, VALUE str2) :: + + Rubyの文字列str1にRubyの文字列str2を追加する. + rb_sprintf(const char *format, ...) :: rb_vsprintf(const char *format, va_list ap) :: @@ -251,8 +255,8 @@ rb_str_vcatf(VALUE str, const char* format, va_list ap) :: Cの文字列formatと続く引数をprintf(3)のフォーマットにしたがって 整形し,Rubyの文字列strに追加する.この関数の機能は,それぞれ - rb_str_cat2(str, rb_sprintf(format, ...)) や - rb_str_cat2(str, rb_vsprintf(format, ap)) と同等である. + rb_str_append(str, rb_sprintf(format, ...)) や + rb_str_append(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) :: |