Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 15cf8fdea4
Fetching contributors…

Cannot retrieve contributors at this time

72 lines (63 sloc) 1.521 kb
/*
** init.c - initialize mruby core
**
** See Copyright Notice in mruby.h
*/
#include "mruby.h"
void mrb_init_symtbl(mrb_state*);
void mrb_init_class(mrb_state*);
void mrb_init_object(mrb_state*);
void mrb_init_kernel(mrb_state*);
void mrb_init_comparable(mrb_state*);
void mrb_init_enumerable(mrb_state*);
void mrb_init_symbol(mrb_state*);
void mrb_init_exception(mrb_state*);
void mrb_init_proc(mrb_state*);
void mrb_init_string(mrb_state*);
void mrb_init_array(mrb_state*);
void mrb_init_hash(mrb_state*);
void mrb_init_numeric(mrb_state*);
void mrb_init_range(mrb_state*);
void mrb_init_struct(mrb_state*);
void mrb_init_gc(mrb_state*);
void mrb_init_regexp(mrb_state*);
void mrb_init_print(mrb_state*);
void mrb_init_time(mrb_state*);
void mrb_init_math(mrb_state*);
void mrb_init_mrblib(mrb_state*);
void
mrb_init_core(mrb_state *mrb)
{
mrb_init_symtbl(mrb);
mrb_init_class(mrb);
mrb_init_object(mrb);
mrb_init_kernel(mrb);
mrb_init_comparable(mrb);
mrb_init_enumerable(mrb);
mrb_init_symbol(mrb);
mrb_init_exception(mrb);
mrb_init_proc(mrb);
mrb_init_string(mrb);
mrb_init_array(mrb);
mrb_init_hash(mrb);
mrb_init_numeric(mrb);
mrb_init_range(mrb);
#ifdef ENABLE_STRUCT
mrb_init_struct(mrb);
#endif
mrb_init_gc(mrb);
#ifdef ENABLE_REGEXP
mrb_init_regexp(mrb);
#endif
#ifdef ENABLE_STDIO
mrb_init_print(mrb);
#endif
#ifdef ENABLE_TIME
mrb_init_time(mrb);
#endif
#ifdef ENABLE_MATH
mrb_init_math(mrb);
#endif
mrb_init_mrblib(mrb);
mrb_gc_arena_restore(mrb, 0);
}
Jump to Line
Something went wrong with that request. Please try again.