Sha256: 075de9748213bd05e6eafe63728e15092d66f7017eac617bc94ce4e4d5cf9cec
Contents?: true
Size: 801 Bytes
Versions: 5
Compression:
Stored size: 801 Bytes
Contents
#import <UIKit/UIKit.h> extern "C" { void ruby_sysinit(int *, char ***); void ruby_init(void); void ruby_init_loadpath(void); void ruby_script(const char *); void ruby_set_argv(int, char **); void rb_vm_init_compiler(void); void rb_vm_init_jit(void); void rb_vm_aot_feature_provide(const char *, void *); void *rb_vm_top_self(void); void rb_rb2oc_exc_handler(void); void rb_exit(int); } extern "C" void RubyMotionInit(int argc, char **argv) { static bool initialized = false; if (!initialized) { ruby_init(); ruby_init_loadpath(); if (argc > 0) { const char *progname = argv[0]; ruby_script(progname); } try { void *self = rb_vm_top_self(); } catch (...) { rb_rb2oc_exc_handler(); } initialized = true; } }
Version data entries
5 entries across 5 versions & 2 rubygems