mbed I/F binding for mruby

Dependents:   mruby_mbed_web mirb_mbed

mbed-mruby

How to use

Class

mrbgems/mruby-struct/gem_init.c

Committer:
mzta
Date:
2015-03-25
Revision:
0:158c61bb030f

File content as of revision 0:158c61bb030f:

/*
 * This file is loading the irep
 * Ruby GEM code.
 *
 * IMPORTANT:
 *   This file was generated!
 *   All manual changes will get lost.
 */
#include <stdlib.h>
#include "mruby.h"
#include "mruby/irep.h"
#include <stdint.h>
const uint8_t
#if defined __GNUC__
__attribute__((aligned(4)))
#elif defined _MSC_VER
__declspec(align(4))
#endif
gem_mrblib_irep_mruby_struct[] = {
0x45,0x54,0x49,0x52,0x30,0x30,0x30,0x33,0xc8,0x02,0x00,0x00,0x03,0x27,0x4d,0x41,
0x54,0x5a,0x30,0x30,0x30,0x30,0x49,0x52,0x45,0x50,0x00,0x00,0x02,0xb9,0x30,0x30,
0x30,0x30,0x00,0x00,0x00,0x69,0x00,0x01,0x00,0x04,0x00,0x01,0x00,0x00,0x00,0x0b,
0x11,0x00,0x80,0x00,0x04,0x01,0x00,0x01,0xa0,0x40,0x80,0x00,0x99,0x02,0xc0,0x00,
0x05,0x00,0x80,0x00,0x05,0x00,0x00,0x01,0x43,0x80,0x80,0x00,0x45,0x00,0x80,0x00,
0x97,0x00,0x40,0x00,0x05,0x00,0x80,0x00,0x4a,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x03,0x00,0x06,0x4f,0x62,0x6a,0x65,0x63,0x74,0x00,0x00,0x0e,0x63,
0x6f,0x6e,0x73,0x74,0x5f,0x64,0x65,0x66,0x69,0x6e,0x65,0x64,0x3f,0x00,0x00,0x06,
0x53,0x74,0x72,0x75,0x63,0x74,0x00,0x00,0x00,0x00,0x62,0x00,0x01,0x00,0x03,0x00,
0x03,0x00,0x00,0x00,0x0b,0x00,0x00,0x00,0x48,0x00,0x80,0x00,0xc0,0x00,0x00,0x01,
0x46,0x00,0x80,0x00,0x48,0x00,0x80,0x00,0xc0,0x02,0x00,0x01,0x46,0x40,0x80,0x00,
0x48,0x00,0x80,0x00,0xc0,0x04,0x00,0x01,0x46,0x80,0x80,0x00,0x04,0x01,0x80,0x00,
0x29,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x00,0x04,0x65,0x61,
0x63,0x68,0x00,0x00,0x09,0x65,0x61,0x63,0x68,0x5f,0x70,0x61,0x69,0x72,0x00,0x00,
0x06,0x73,0x65,0x6c,0x65,0x63,0x74,0x00,0x00,0x00,0x00,0x53,0x00,0x02,0x00,0x04,
0x00,0x01,0x00,0x00,0x00,0x08,0x00,0x00,0xa6,0x00,0x00,0x00,0x06,0x00,0x00,0x01,
0x20,0x00,0x00,0x01,0x20,0x40,0x00,0x01,0x40,0x01,0x80,0x01,0x21,0x80,0x00,0x01,
0x06,0x00,0x00,0x01,0x29,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,
0x00,0x05,0x63,0x6c,0x61,0x73,0x73,0x00,0x00,0x07,0x6d,0x65,0x6d,0x62,0x65,0x72,
0x73,0x00,0x00,0x04,0x65,0x61,0x63,0x68,0x00,0x00,0x00,0x00,0x42,0x00,0x03,0x00,
0x07,0x00,0x00,0x00,0x00,0x00,0x07,0x00,0x26,0x00,0x00,0x02,0x15,0x40,0x80,0x01,
0x06,0x00,0x00,0x02,0x01,0x40,0x80,0x02,0xa0,0x40,0x00,0x02,0xa0,0x00,0x80,0x01,
0x29,0x00,0x80,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x04,0x63,0x61,
0x6c,0x6c,0x00,0x00,0x02,0x5b,0x5d,0x00,0x00,0x00,0x00,0x53,0x00,0x02,0x00,0x04,
0x00,0x01,0x00,0x00,0x00,0x08,0x00,0x00,0xa6,0x00,0x00,0x00,0x06,0x00,0x00,0x01,
0x20,0x00,0x00,0x01,0x20,0x40,0x00,0x01,0x40,0x01,0x80,0x01,0x21,0x80,0x00,0x01,
0x06,0x00,0x00,0x01,0x29,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,
0x00,0x05,0x63,0x6c,0x61,0x73,0x73,0x00,0x00,0x07,0x6d,0x65,0x6d,0x62,0x65,0x72,
0x73,0x00,0x00,0x04,0x65,0x61,0x63,0x68,0x00,0x00,0x00,0x00,0x53,0x00,0x03,0x00,
0x08,0x00,0x00,0x00,0x00,0x00,0x09,0x00,0x26,0x00,0x00,0x02,0x15,0x40,0x80,0x01,
0x01,0x40,0x00,0x02,0x20,0x40,0x00,0x02,0x06,0x00,0x80,0x02,0x01,0x40,0x00,0x03,
0xa0,0x80,0x80,0x02,0x20,0x01,0x80,0x01,0x29,0x00,0x80,0x01,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x03,0x00,0x04,0x63,0x61,0x6c,0x6c,0x00,0x00,0x06,0x74,0x6f,0x5f,
0x73,0x79,0x6d,0x00,0x00,0x02,0x5b,0x5d,0x00,0x00,0x00,0x00,0x53,0x00,0x03,0x00,
0x05,0x00,0x01,0x00,0x00,0x00,0x08,0x00,0xa6,0x00,0x00,0x00,0x37,0xc0,0x00,0x01,
0x06,0x00,0x80,0x01,0x20,0x00,0x80,0x01,0x20,0x40,0x80,0x01,0x40,0x01,0x00,0x02,
0x21,0x80,0x80,0x01,0x29,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,
0x00,0x05,0x63,0x6c,0x61,0x73,0x73,0x00,0x00,0x07,0x6d,0x65,0x6d,0x62,0x65,0x72,
0x73,0x00,0x00,0x04,0x65,0x61,0x63,0x68,0x00,0x00,0x00,0x00,0x69,0x00,0x04,0x00,
0x07,0x00,0x00,0x00,0x00,0x00,0x0f,0x00,0x26,0x00,0x00,0x02,0x06,0x00,0x00,0x02,
0x01,0x40,0x80,0x02,0xa0,0x00,0x00,0x02,0x01,0x00,0x81,0x01,0x15,0x40,0x00,0x02,
0x01,0xc0,0x80,0x02,0xa0,0x40,0x00,0x02,0x19,0x02,0x40,0x02,0x15,0x80,0x00,0x02,
0x01,0xc0,0x80,0x02,0xa0,0x80,0x00,0x02,0x97,0x00,0x40,0x00,0x05,0x00,0x00,0x02,
0x29,0x00,0x00,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x00,0x02,0x5b,0x5d,
0x00,0x00,0x04,0x63,0x61,0x6c,0x6c,0x00,0x00,0x04,0x70,0x75,0x73,0x68,0x00,0x4c,
0x56,0x41,0x52,0x00,0x00,0x00,0x50,0x00,0x00,0x00,0x04,0x00,0x05,0x62,0x6c,0x6f,
0x63,0x6b,0x00,0x05,0x66,0x69,0x65,0x6c,0x64,0x00,0x03,0x61,0x72,0x79,0x00,0x03,
0x76,0x61,0x6c,0x00,0x00,0x00,0x01,0x00,0x01,0x00,0x01,0xff,0xff,0x00,0x00,0x00,
0x00,0x00,0x01,0x00,0x01,0x00,0x01,0xff,0xff,0x00,0x00,0x00,0x00,0x00,0x01,0x00,
0x02,0x00,0x02,0x00,0x01,0x00,0x01,0xff,0xff,0x00,0x00,0x00,0x03,0x00,0x03,0x45,
0x4e,0x44,0x00,0x00,0x00,0x00,0x08,
};
void mrb_mruby_struct_gem_init(mrb_state *mrb);
void mrb_mruby_struct_gem_final(mrb_state *mrb);

void GENERATED_TMP_mrb_mruby_struct_gem_init(mrb_state *mrb) {
  int ai = mrb_gc_arena_save(mrb);
  mrb_mruby_struct_gem_init(mrb);
  mrb_load_irep(mrb, gem_mrblib_irep_mruby_struct);
  if (mrb->exc) {
    mrb_print_error(mrb);
    exit(EXIT_FAILURE);
  }
  mrb_gc_arena_restore(mrb, ai);
}

void GENERATED_TMP_mrb_mruby_struct_gem_final(mrb_state *mrb) {
  mrb_mruby_struct_gem_final(mrb);
}