зеркало из https://github.com/github/ruby.git
* 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:
Родитель
4fb4516af8
Коммит
791bdf07b5
|
@ -1,3 +1,8 @@
|
|||
Tue Jul 22 02:50:47 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* README.EXT, README.EXT.ja (1.5 Manipulating Ruby data): fix the
|
||||
prototype of rb_vsprintf, and added rb_str_cat2. [ruby-dev:35622]
|
||||
|
||||
Mon Jul 21 17:15:38 2008 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* encoding.c (rb_filesystem_encoding): use locale encoding on Unix.
|
||||
|
|
|
@ -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()
|
||||
|
|
|
@ -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()
|
||||
|
|
Загрузка…
Ссылка в новой задаче