diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-07-21 17:50:52 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-07-21 17:50:52 +0000 |
commit | 791bdf07b53c393b0c9e2db47aaaa9b3802b52df (patch) | |
tree | 2e67be5cf8e3cc7826e146840d9c122ff7af2720 /README.EXT.ja | |
parent | 4fb4516af8c64e711601bc34db8b0a702019b073 (diff) |
* 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
Diffstat (limited to 'README.EXT.ja')
-rw-r--r-- | README.EXT.ja | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/README.EXT.ja b/README.EXT.ja index 0205254ad6..f99987dd10 100644 --- a/README.EXT.ja +++ b/README.EXT.ja @@ -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() |