7#include "miniprelude.c"
11#ifndef INCLUDED_BY_BUILTIN_C
12static struct st_table *loaded_builtin_table;
27 GET_VM()->builtin_function_table =
NULL;
32 if (0 && strcmp(
"prelude", feature_name) == 0) {
36#ifndef INCLUDED_BY_BUILTIN_C
47 const rb_iseq_t *iseq = builtin_iseq_load(feature_name, table);
51#ifndef INCLUDED_BY_BUILTIN_C
56 const char *feature = (
const char *)
key;
65each_builtin(
VALUE self)
67 st_foreach(loaded_builtin_table, each_builtin_i, 0);
82 builtin_iseq_load(
"gem_prelude",
NULL);
#define rb_define_singleton_method(klass, mid, func, arity)
Defines klass.mid.
void rb_gc_register_mark_object(VALUE obj)
Inform the garbage collector that object is a live Ruby object that should not be moved.
VALUE rb_iseqw_new(const rb_iseq_t *)
Defines RBIMPL_HAS_BUILTIN.
VALUE rb_io_write(VALUE, VALUE)
Internal header for Array.
rb_iseq_t * rb_iseq_new(const rb_ast_body_t *ast, VALUE name, VALUE path, VALUE realpath, const rb_iseq_t *parent, enum iseq_type type)
VALUE rb_iseq_disasm(const rb_iseq_t *iseq)
VALUE rb_yield_values(int n,...)
void Init_builtin_features(void)
rb_ast_t * rb_builtin_ast(const char *feature_name, VALUE *name_str)
void rb_load_with_builtin_functions(const char *feature_name, const struct rb_builtin_function *table)
void rb_ast_dispose(rb_ast_t *ast)
const struct rb_builtin_function * builtin_function_table
VALUE rb_iseq_eval(const rb_iseq_t *iseq)