Ruby 2.7.6p219 (2022-04-12 revision c9c2245c0a25176072e02db9254f0e0c84c805cd)
|
CRuby interpreter APIs. More...
Modules | |
ruby(1) implementation | |
A part of the implementation of ruby(1) command. | |
Functions | |
void | ruby_init_stack (volatile VALUE *) |
int | ruby_setup (void) |
Initializes the VM and builtin libraries. More... | |
int | ruby_cleanup (volatile int) |
Destructs the VM. More... | |
void | ruby_finalize (void) |
Runs the VM finalization processes. More... | |
void | ruby_set_stack_size (size_t) |
int | ruby_stack_check (void) |
size_t | ruby_stack_length (VALUE **) |
int | ruby_exec_node (void *n) |
Runs the given compiled source. More... | |
void | ruby_script (const char *name) |
Sets the current script name to this value. More... | |
void | ruby_set_script_name (VALUE name) |
Sets the current script name to this value. More... | |
void | ruby_prog_init (void) |
Defines built-in variables. More... | |
void | ruby_set_argv (int, char **) |
void * | ruby_process_options (int, char **) |
void | ruby_init_loadpath (void) |
void | ruby_incpush (const char *) |
void | ruby_sig_finalize (void) |
NORETURN (void rb_vm_jump_tag_but_local_jump(int)) | |
CRuby interpreter APIs.
These are APIs to embed MRI interpreter into your program. These functions are not a part of Ruby extension library API. Extension libraries of Ruby should not depend on these functions.
NORETURN | ( | void | rb_vm_jump_tag_but_local_jumpint | ) |
Destructs the VM.
Runs the VM finalization processes as well as ruby_finalize(), and frees resources used by the VM.
ex | Default value to the return value. |
Definition at line 181 of file eval.c.
Referenced by ruby_stop().
Sets the current script name to this value.
Same as ruby_script() but accepts a VALUE.
Initializes the VM and builtin libraries.
0 | if succeeded. |
non-zero | an error occurred. |
Definition at line 56 of file eval.c.
Referenced by ruby_init().