Files
mruby-mruby/src/irep.h
T
2012-04-20 09:39:03 +09:00

24 lines
333 B
C

#ifndef MRUBY_IREP_H
#define MRUBY_IREP_H
typedef struct mrb_irep {
int idx;
int flags;
int nlocals;
int nregs;
mrb_code *iseq;
mrb_value *pool;
int *syms;
int ilen, plen, slen;
} mrb_irep;
#define MRB_IREP_NOFREE 3
#define MRB_ISEQ_NOFREE 1
void mrb_add_irep(mrb_state *mrb, int n);
#endif /* MRUBY_IREP_H */