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 | cd66d605e4dfd1ce4371f7323ab962300560d747 (patch) | |
tree | 2e67be5cf8e3cc7826e146840d9c122ff7af2720 /README.EXT | |
parent | fda5f5521b6151bd4c641b84dfe6549bef25d2d1 (diff) | |
download | ruby-cd66d605e4dfd1ce4371f7323ab962300560d747.tar.gz ruby-cd66d605e4dfd1ce4371f7323ab962300560d747.tar.xz ruby-cd66d605e4dfd1ce4371f7323ab962300560d747.zip |
* 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: http://svn.ruby-lang.org/repos/ruby/trunk@18144 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'README.EXT')
-rw-r--r-- | README.EXT | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/README.EXT b/README.EXT index b41e6a426..c4dba7f1f 100644 --- a/README.EXT +++ b/README.EXT @@ -190,10 +190,15 @@ listed below: Appends len bytes of data from ptr to the Ruby string. rb_sprintf(const char *format, ...) - rb_vsprintf(const char *format, ...) + rb_vsprintf(const char *format, va_list ap) Creates a new Ruby string with printf(3) format. + rb_str_cat2(VALUE str, const char* ptr) + + Appends C string ptr to Ruby string str. This function is + equivalent to rb_str_cat(str, ptr, strlen(ptr)). + Array functions rb_ary_new() |