1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* README.EXT, README.EXT.ja (1.5 Manipulating Ruby data): fix the

prototype of rb_vsprintf, and added rb_str_cat2.  [ruby-dev:35622]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18144 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2008-07-21 17:50:52 +00:00
parent 4fb4516af8
commit 791bdf07b5
3 changed files with 17 additions and 2 deletions

View file

@ -217,10 +217,15 @@ Ruby
Rubyの文字列strにlenバイトの文字列ptrを追加する
rb_sprintf(const char *format, ...)
rb_vsprintf(const char *format, ...)
rb_vsprintf(const char *format, va_list ap)
printf(3)のフォーマットにしたがってRubyの文字列を生成する
rb_str_cat2(VALUE str, const char* ptr)
Rubyの文字列strにCの文字列ptrを追加するこの関数の機能は
rb_str_cat(str, ptr, strlen(ptr))と同等である.
配列に対する関数
rb_ary_new()