mbed I/F binding for mruby

Dependents:   mruby_mbed_web mirb_mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers gem_init.c Source File

gem_init.c

00001 /*
00002  * This file is loading the irep
00003  * Ruby GEM code.
00004  *
00005  * IMPORTANT:
00006  *   This file was generated!
00007  *   All manual changes will get lost.
00008  */
00009 #include <stdlib.h>
00010 #include "mruby.h"
00011 #include "mruby/irep.h"
00012 #include <stdint.h>
00013 const uint8_t
00014 #if defined __GNUC__
00015 __attribute__((aligned(4)))
00016 #elif defined _MSC_VER
00017 __declspec(align(4))
00018 #endif
00019 gem_mrblib_irep_mruby_symbol_ext[] = {
00020 0x45,0x54,0x49,0x52,0x30,0x30,0x30,0x33,0x2f,0x06,0x00,0x00,0x03,0xed,0x4d,0x41,
00021 0x54,0x5a,0x30,0x30,0x30,0x30,0x49,0x52,0x45,0x50,0x00,0x00,0x03,0x70,0x30,0x30,
00022 0x30,0x30,0x00,0x00,0x00,0x37,0x00,0x01,0x00,0x03,0x00,0x01,0x00,0x00,0x00,0x05,
00023 0x05,0x00,0x80,0x00,0x05,0x00,0x00,0x01,0x43,0x00,0x80,0x00,0x45,0x00,0x80,0x00,
00024 0x4a,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x06,0x53,0x79,
00025 0x6d,0x62,0x6f,0x6c,0x00,0x00,0x00,0x01,0x00,0x00,0x01,0x00,0x04,0x00,0x06,0x00,
00026 0x00,0x00,0x1c,0x00,0x06,0x00,0x80,0x00,0x91,0x00,0x00,0x01,0xa0,0x00,0x80,0x00,
00027 0x48,0x00,0x80,0x00,0x04,0x01,0x00,0x01,0x84,0x01,0x80,0x01,0x05,0x00,0x00,0x02,
00028 0x20,0x01,0x81,0x00,0x48,0x00,0x80,0x00,0xc0,0x00,0x00,0x01,0x46,0x40,0x81,0x00,
00029 0x48,0x00,0x80,0x00,0xc0,0x02,0x00,0x01,0x46,0x80,0x81,0x00,0x48,0x00,0x80,0x00,
00030 0xc0,0x04,0x00,0x01,0x46,0xc0,0x81,0x00,0x48,0x00,0x80,0x00,0xc0,0x06,0x00,0x01,
00031 0x46,0x00,0x82,0x00,0x48,0x00,0x80,0x00,0xc0,0x08,0x00,0x01,0x46,0x40,0x82,0x00,
00032 0x48,0x00,0x80,0x00,0xc0,0x0a,0x00,0x01,0x46,0x80,0x82,0x00,0x04,0x05,0x80,0x00,
00033 0x29,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0b,0x00,0x07,0x69,0x6e,
00034 0x63,0x6c,0x75,0x64,0x65,0x00,0x00,0x0a,0x43,0x6f,0x6d,0x70,0x61,0x72,0x61,0x62,
00035 0x6c,0x65,0x00,0x00,0x06,0x69,0x6e,0x74,0x65,0x72,0x6e,0x00,0x00,0x06,0x74,0x6f,
00036 0x5f,0x73,0x79,0x6d,0x00,0x00,0x0c,0x61,0x6c,0x69,0x61,0x73,0x5f,0x6d,0x65,0x74,
00037 0x68,0x6f,0x64,0x00,0x00,0x07,0x74,0x6f,0x5f,0x70,0x72,0x6f,0x63,0x00,0x00,0x0a,
00038 0x63,0x61,0x70,0x69,0x74,0x61,0x6c,0x69,0x7a,0x65,0x00,0x00,0x08,0x64,0x6f,0x77,
00039 0x6e,0x63,0x61,0x73,0x65,0x00,0x00,0x06,0x75,0x70,0x63,0x61,0x73,0x65,0x00,0x00,
00040 0x07,0x63,0x61,0x73,0x65,0x63,0x6d,0x70,0x00,0x00,0x06,0x65,0x6d,0x70,0x74,0x79,
00041 0x3f,0x00,0x00,0x00,0x00,0x26,0x00,0x02,0x00,0x03,0x00,0x01,0x00,0x00,0x00,0x03,
00042 0x26,0x00,0x00,0x00,0xc0,0x01,0x00,0x01,0x29,0x00,0x00,0x01,0x00,0x00,0x00,0x00,
00043 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x49,0x00,0x04,0x00,0x07,0x00,0x00,0x00,0x00,
00044 0x00,0x09,0x00,0x00,0xa6,0x00,0x08,0x02,0x01,0x40,0x00,0x02,0x06,0x00,0x80,0x02,
00045 0xb7,0x40,0x81,0x02,0x01,0x80,0x00,0x03,0x38,0x80,0x81,0x02,0x01,0xc0,0x00,0x03,
00046 0xa1,0x3f,0x00,0x02,0x29,0x00,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,
00047 0x00,0x08,0x5f,0x5f,0x73,0x65,0x6e,0x64,0x5f,0x5f,0x00,0x00,0x00,0x00,0x58,0x00,
00048 0x02,0x00,0x04,0x00,0x00,0x00,0x00,0x00,0x08,0x00,0x00,0x00,0x26,0x00,0x00,0x00,
00049 0x06,0x00,0x00,0x01,0x20,0x00,0x00,0x01,0x20,0x40,0x00,0x01,0x98,0x00,0x40,0x01,
00050 0x06,0x00,0x00,0x01,0x20,0x80,0x00,0x01,0x29,0x00,0x00,0x01,0x00,0x00,0x00,0x00,
00051 0x00,0x00,0x00,0x03,0x00,0x04,0x74,0x6f,0x5f,0x73,0x00,0x00,0x0b,0x63,0x61,0x70,
00052 0x69,0x74,0x61,0x6c,0x69,0x7a,0x65,0x21,0x00,0x00,0x06,0x74,0x6f,0x5f,0x73,0x79,
00053 0x6d,0x00,0x00,0x00,0x00,0x56,0x00,0x02,0x00,0x04,0x00,0x00,0x00,0x00,0x00,0x08,
00054 0x26,0x00,0x00,0x00,0x06,0x00,0x00,0x01,0x20,0x00,0x00,0x01,0x20,0x40,0x00,0x01,
00055 0x98,0x00,0x40,0x01,0x06,0x00,0x00,0x01,0x20,0x80,0x00,0x01,0x29,0x00,0x00,0x01,
00056 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x00,0x04,0x74,0x6f,0x5f,0x73,0x00,0x00,
00057 0x09,0x64,0x6f,0x77,0x6e,0x63,0x61,0x73,0x65,0x21,0x00,0x00,0x06,0x74,0x6f,0x5f,
00058 0x73,0x79,0x6d,0x00,0x00,0x00,0x00,0x54,0x00,0x02,0x00,0x04,0x00,0x00,0x00,0x00,
00059 0x00,0x08,0x00,0x00,0x26,0x00,0x00,0x00,0x06,0x00,0x00,0x01,0x20,0x00,0x00,0x01,
00060 0x20,0x40,0x00,0x01,0x98,0x00,0x40,0x01,0x06,0x00,0x00,0x01,0x20,0x80,0x00,0x01,
00061 0x29,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x00,0x04,0x74,0x6f,
00062 0x5f,0x73,0x00,0x00,0x07,0x75,0x70,0x63,0x61,0x73,0x65,0x21,0x00,0x00,0x06,0x74,
00063 0x6f,0x5f,0x73,0x79,0x6d,0x00,0x00,0x00,0x00,0x95,0x00,0x05,0x00,0x08,0x00,0x00,
00064 0x00,0x00,0x00,0x14,0x26,0x00,0x00,0x02,0x01,0x40,0x80,0x02,0x91,0x00,0x00,0x03,
00065 0xa0,0x00,0x80,0x02,0x99,0x00,0xc0,0x02,0x17,0x01,0x40,0x00,0x05,0x00,0x80,0x02,
00066 0x29,0x00,0x80,0x02,0x06,0x00,0x80,0x02,0x20,0x80,0x80,0x02,0x01,0x40,0x81,0x01,
00067 0x20,0xc0,0x80,0x02,0x01,0x40,0x80,0x02,0x20,0x80,0x80,0x02,0x01,0x40,0x01,0x02,
00068 0x20,0xc0,0x80,0x02,0x01,0xc0,0x80,0x02,0x01,0x00,0x01,0x03,0xa0,0x00,0x81,0x02,
00069 0x29,0x00,0x80,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x05,0x00,0x08,0x6b,0x69,
00070 0x6e,0x64,0x5f,0x6f,0x66,0x3f,0x00,0x00,0x06,0x53,0x79,0x6d,0x62,0x6f,0x6c,0x00,
00071 0x00,0x04,0x74,0x6f,0x5f,0x73,0x00,0x00,0x07,0x75,0x70,0x63,0x61,0x73,0x65,0x21,
00072 0x00,0x00,0x03,0x3c,0x3d,0x3e,0x00,0x00,0x00,0x00,0x40,0x00,0x02,0x00,0x05,0x00,
00073 0x00,0x00,0x00,0x00,0x06,0x00,0x00,0x00,0x26,0x00,0x00,0x00,0x06,0x00,0x00,0x01,
00074 0x20,0x00,0x00,0x01,0x83,0xff,0xbf,0x01,0xb2,0x40,0x00,0x01,0x29,0x00,0x00,0x01,
00075 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x06,0x6c,0x65,0x6e,0x67,0x74,0x68,
00076 0x00,0x00,0x02,0x3d,0x3d,0x00,0x4c,0x56,0x41,0x52,0x00,0x00,0x00,0x5f,0x00,0x00,
00077 0x00,0x06,0x00,0x03,0x6f,0x62,0x6a,0x00,0x04,0x61,0x72,0x67,0x73,0x00,0x05,0x62,
00078 0x6c,0x6f,0x63,0x6b,0x00,0x05,0x6f,0x74,0x68,0x65,0x72,0x00,0x03,0x6c,0x68,0x73,
00079 0x00,0x03,0x72,0x68,0x73,0xff,0xff,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x01,0x00,
00080 0x02,0x00,0x02,0x00,0x03,0xff,0xff,0x00,0x00,0xff,0xff,0x00,0x00,0xff,0xff,0x00,
00081 0x00,0x00,0x03,0x00,0x01,0xff,0xff,0x00,0x00,0x00,0x04,0x00,0x03,0x00,0x05,0x00,
00082 0x04,0xff,0xff,0x00,0x00,0x45,0x4e,0x44,0x00,0x00,0x00,0x00,0x08,
00083 };
00084 void mrb_mruby_symbol_ext_gem_init(mrb_state *mrb);
00085 void mrb_mruby_symbol_ext_gem_final(mrb_state *mrb);
00086 
00087 void GENERATED_TMP_mrb_mruby_symbol_ext_gem_init(mrb_state *mrb) {
00088   int ai = mrb_gc_arena_save(mrb);
00089   mrb_mruby_symbol_ext_gem_init(mrb);
00090   mrb_load_irep(mrb, gem_mrblib_irep_mruby_symbol_ext);
00091   if (mrb->exc) {
00092     mrb_print_error(mrb);
00093     exit(EXIT_FAILURE);
00094   }
00095   mrb_gc_arena_restore(mrb, ai);
00096 }
00097 
00098 void GENERATED_TMP_mrb_mruby_symbol_ext_gem_final(mrb_state *mrb) {
00099   mrb_mruby_symbol_ext_gem_final(mrb);
00100 }
00101