mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
README.EXT{,.ja}: update ruby_options and ruby_run_node
* README.EXT{,.ja} (Appendix B): update contents of `ruby_options` and replace `ruby_run` with `ruby_run_node`. based on the patch by Kaneko Yuichiro at [ruby-dev:48030] [Bug #9619]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
89dff2712d
commit
af59443ab6
3 changed files with 21 additions and 7 deletions
|
@ -1,3 +1,9 @@
|
|||
Tue Mar 11 10:55:10 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* README.EXT{,.ja} (Appendix B): update contents of `ruby_options`
|
||||
and replace `ruby_run` with `ruby_run_node`. based on the patch
|
||||
by Kaneko Yuichiro at [ruby-dev:48030] [Bug #9619].
|
||||
|
||||
Tue Mar 11 06:54:00 2014 Scott Francis <scott.francis@shopify.com>
|
||||
|
||||
* ext/objspace/objspace_dump.c: Check fptr before trying to dump RFILE
|
||||
|
|
11
README.EXT
11
README.EXT
|
@ -1405,13 +1405,18 @@ void ruby_init() ::
|
|||
|
||||
Initializes the interpreter.
|
||||
|
||||
void ruby_options(int argc, char **argv) ::
|
||||
void *ruby_options(int argc, char **argv) ::
|
||||
|
||||
Process command line arguments for the interpreter.
|
||||
And compiles the Ruby source to execute.
|
||||
It returns an opaque pointer to the compiled source
|
||||
or an internal special value.
|
||||
|
||||
void ruby_run() ::
|
||||
int ruby_run_node(void *n) ::
|
||||
|
||||
Starts execution of the interpreter.
|
||||
Runs the given compiled source and exits this process.
|
||||
It returns EXIT_SUCCESS if successfully runs the source.
|
||||
Otherwise, it returns other value.
|
||||
|
||||
void ruby_script(char *name) ::
|
||||
|
||||
|
|
|
@ -1416,13 +1416,16 @@ void ruby_init() ::
|
|||
|
||||
Rubyインタプリタの初期化を行なう.
|
||||
|
||||
void ruby_options(int argc, char **argv) ::
|
||||
void *ruby_options(int argc, char **argv) ::
|
||||
|
||||
Rubyインタプリタのコマンドライン引数の処理を行なう.
|
||||
Rubyインタプリタのコマンドライン引数の処理を行ない,
|
||||
Rubyのソースコードをコンパイルする.
|
||||
コンパイルされたソースへのポインタ,もしくは特殊値を返す.
|
||||
|
||||
void ruby_run() ::
|
||||
int ruby_run_node(void *n) ::
|
||||
|
||||
Rubyインタプリタを実行する.
|
||||
コンパイルされたコードを実行する.
|
||||
実行に成功した場合はEXIT_SUCCESSを,エラーが起こったときはそれ以外を返す.
|
||||
|
||||
void ruby_script(char *name) ::
|
||||
|
||||
|
|
Loading…
Reference in a new issue