1#ifndef RBIMPL_INTERPRETER_H
2#define RBIMPL_INTERPRETER_H
53#ifndef ruby_show_copyright
59#define RUBY_INIT_STACK \
60 VALUE variable_in_this_stack_frame; \
61 ruby_init_stack(&variable_in_this_stack_frame);
Tewaking 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.
void ruby_set_argv(int, char **)
int ruby_exec_node(void *n)
Runs the given compiled source.
void ruby_incpush(const char *)
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_script_name(VALUE name)
Sets the current script name to this value.
int ruby_stack_check(void)
void ruby_init_loadpath(void)
void ruby_init_stack(volatile VALUE *)
void * ruby_process_options(int, char **)
void ruby_prog_init(void)
Defines built-in variables.
int ruby_cleanup(volatile int)
Destructs the VM.
void ruby_sig_finalize(void)
size_t ruby_stack_length(VALUE **)
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_NORETURN.
#define RBIMPL_ATTR_NORETURN()
Wraps (or simulates) [[noreturn]]