1#ifndef RBIMPL_INTERPRETER_H                          
    2#define RBIMPL_INTERPRETER_H 
   92void* ruby_options(
int argc, 
char** argv);
 
  116int ruby_run_node(
void *n);
 
  122#ifndef ruby_show_copyright 
  131#define RUBY_INIT_STACK \ 
  132    VALUE variable_in_this_stack_frame; \ 
  133    ruby_init_stack(&variable_in_this_stack_frame); 
 
Tweaking visibility of C variables/functions.
 
#define RBIMPL_SYMBOL_EXPORT_END()
Counterpart of RBIMPL_SYMBOL_EXPORT_BEGIN.
 
#define RBIMPL_SYMBOL_EXPORT_BEGIN()
Shortcut macro equivalent to RUBY_SYMBOL_EXPORT_BEGIN extern "C" {.
 
void ruby_stop(int)
Calls ruby_cleanup() and exits the process.
 
int ruby_exec_node(void *n)
Identical to ruby_run_node(), except it returns an opaque execution status.
 
int ruby_setup(void)
Initializes the VM and builtin libraries.
 
void ruby_finalize(void)
Runs the VM finalization processes.
 
void ruby_script(const char *name)
Sets the current script name to this value.
 
void ruby_set_argv(int argc, char **argv)
Sets argv that ruby understands.
 
void ruby_set_script_name(VALUE name)
Identical to ruby_script(), except it takes the name as a Ruby String instance.
 
int ruby_cleanup(int ex)
Destructs the VM.
 
size_t ruby_stack_length(VALUE **topnotch)
Queries what Ruby thinks is the machine stack.
 
int ruby_stack_check(void)
Checks for stack overflow.
 
void ruby_init_loadpath(void)
Sets up $LOAD_PATH.
 
void * ruby_process_options(int argc, char **argv)
Identical to ruby_options(), except it raises ruby-level exceptions on failure.
 
void ruby_prog_init(void)
Defines built-in variables.
 
void ruby_sig_finalize(void)
Clear signal handlers.
 
void ruby_incpush(const char *path)
Appends the given path to the end of the load path.
 
void ruby_init_stack(void *addr)
Set stack bottom of Ruby implementation.
 
void ruby_init(void)
Calls ruby_setup() and check error.
 
void ruby_show_copyright(void)
Prints the copyright notice of the CRuby interpreter to stdout.
 
void ruby_sysinit(int *argc, char ***argv)
Initializes the process for libruby.
 
void ruby_show_version(void)
Prints the version information of the CRuby interpreter to stdout.
 
int ruby_executable_node(void *n, int *status)
Checks the return value of ruby_options().
 
Defines RBIMPL_ATTR_NONNULL.
 
#define RBIMPL_ATTR_NONNULL(list)
Wraps (or simulates) __attribute__((nonnull))
 
Defines RBIMPL_ATTR_NORETURN.
 
#define RBIMPL_ATTR_NORETURN()
Wraps (or simulates) [[noreturn]]
 
uintptr_t VALUE
Type that represents a Ruby object.