Files
mruby-mruby/include/mruby/irep.h
T
Yukihiro Matsumoto 950204bc4d remove flags from irep
2012-08-29 11:45:36 +09:00

34 lines
455 B
C

/*
** mruby/irep.h - mrb_irep structure
**
** See Copyright Notice in mruby.h
*/
#ifndef MRUBY_IREP_H
#define MRUBY_IREP_H
#if defined(__cplusplus)
extern "C" {
#endif
typedef struct mrb_irep {
int idx;
int nlocals;
int nregs;
mrb_code *iseq;
mrb_value *pool;
mrb_sym *syms;
int ilen, plen, slen;
} mrb_irep;
void mrb_add_irep(mrb_state *mrb, int n);
#if defined(__cplusplus)
} /* extern "C" { */
#endif
#endif /* MRUBY_IREP_H */