mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
README.EXT: update note
* README.EXT: correct method name to be used. [Bug #7982] * README.EXT.ja: add notes too. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
9ef25d883d
commit
66c0e01220
3 changed files with 18 additions and 4 deletions
|
@ -1,3 +1,9 @@
|
|||
Sun Apr 28 12:38:04 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* README.EXT: correct method name to be used. [Bug #7982]
|
||||
|
||||
* README.EXT.ja: add notes too.
|
||||
|
||||
Sun Apr 28 10:35:00 2013 Zachary Scott <zachary@zacharyscott.net>
|
||||
|
||||
* object.c: With feedback from Steve Klabnik, reverted a change to
|
||||
|
|
10
README.EXT
10
README.EXT
|
@ -196,8 +196,9 @@ rb_vsprintf(const char *format, va_list ap) ::
|
|||
|
||||
Creates a new Ruby string with printf(3) format.
|
||||
|
||||
Note: In the format string, %i is used for Object#inspect output (and related
|
||||
argument must be a VALUE). For integers in format strings, use %d.
|
||||
Note: In the format string, %i is used for Object#to_s (or Object#inspect if
|
||||
'+' flag is set) output (and related argument must be a VALUE). For integers
|
||||
in format strings, use %d.
|
||||
|
||||
rb_str_cat(VALUE str, const char *ptr, long len) ::
|
||||
|
||||
|
@ -1369,8 +1370,9 @@ void rb_bug(const char *fmt, ...) ::
|
|||
called under the situation caused by the bug in the interpreter. No
|
||||
exception handling nor ensure execution will be done.
|
||||
|
||||
Note: In the fmt string message, %i is used for Object#inspect output (and
|
||||
related argument must be a VALUE). For integers in format strings, use %d.
|
||||
Note: In the format string, %i is used for Object#to_s (or Object#inspect if
|
||||
'+' flag is set) output (and related argument must be a VALUE). For integers
|
||||
in format strings, use %d.
|
||||
|
||||
== Initialize and Start the Interpreter
|
||||
|
||||
|
|
|
@ -224,6 +224,9 @@ rb_vsprintf(const char *format, va_list ap)
|
|||
Cの文字列formatと続く引数をprintf(3)のフォーマットにしたがって
|
||||
整形し,Rubyの文字列を生成する.
|
||||
|
||||
注意: %iはObject#to_s('+'フラグが指定されているときはObject#inspect)を
|
||||
使ったVALUEの出力に使用されているため,整数には%dを使用すること.
|
||||
|
||||
rb_str_cat(VALUE str, const char *ptr, long len)
|
||||
|
||||
Rubyの文字列strにlenバイトの文字列ptrを追加する.
|
||||
|
@ -1381,6 +1384,9 @@ void rb_bug(const char *fmt, ...) ::
|
|||
状況の時呼ぶ.インタープリタはコアダンプし直ちに終了する.
|
||||
例外処理は一切行なわれない.
|
||||
|
||||
注意: %iはObject#to_s('+'フラグが指定されているときはObject#inspect)を
|
||||
使ったVALUEの出力に使用されているため,整数には%dを使用すること.
|
||||
|
||||
== Rubyの初期化・実行
|
||||
|
||||
Rubyをアプリケーションに埋め込む場合には以下のインタフェース
|
||||
|
|
Loading…
Reference in a new issue