summaryrefslogtreecommitdiffhomepage
path: root/core/boilerplate_entry.c
blob: a3245970e59126fbc876af0f6b5ccce10a1e536d (plain)
1
2
3
4
5
6
7
8
9
10
11
#include "mruby.h"
#include "mruby/irep.h"
#include "bytecode.h"

int main() {
  mrb_state *mrb = mrb_open();
  if (!mrb) { /* handle error */ }
  mrb_load_irep(mrb, bytecode);
  mrb_close(mrb);
  return 0;
}