Ruby
2.0.0p451(2014-02-24revision45167)
|
#include "main.c"
Go to the source code of this file.
Macros | |
#define | ruby_options goruby_options |
#define | ruby_run_node goruby_run_node |
Functions | |
void | Init_golf (void) |
RUBY_EXTERN void * | ruby_options (int argc, char **argv) |
Processes command line arguments and compiles the Ruby source to execute. More... | |
RUBY_EXTERN int | ruby_run_node (void *) |
Runs the given compiled source and exits this process. More... | |
RUBY_EXTERN void | ruby_init_ext (const char *name, void(*init)(void)) |
static VALUE | init_golf (VALUE arg) |
void * | goruby_options (int argc, char **argv) |
int | goruby_run_node (void *arg) |
#define ruby_options goruby_options |
Definition at line 2 of file goruby.c.
Referenced by goruby_options(), and main().
#define ruby_run_node goruby_run_node |
Definition at line 3 of file goruby.c.
Referenced by goruby_run_node(), and main().
void* goruby_options | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 28 of file goruby.c.
References dup2(), and ruby_options.
int goruby_run_node | ( | void * | arg | ) |
Definition at line 51 of file goruby.c.
References EXIT_FAILURE, EXIT_SUCCESS, init_golf(), NIL_P, Qtrue, rb_protect(), and ruby_run_node.
void Init_golf | ( | void | ) |
Referenced by init_golf().
Definition at line 21 of file goruby.c.
References arg, Init_golf(), and ruby_init_ext().
Referenced by goruby_run_node().
RUBY_EXTERN void ruby_init_ext | ( | const char * | name, |
void(*)(void) | init | ||
) |
Definition at line 1047 of file load.c.
References get_loading_table(), GET_VM, register_init_ext(), st_init_strtable(), and st_update().
Referenced by init_golf().