mruby  2.0.1
mruby is the lightweight implementation of the Ruby language
Classes | Macros | Typedefs | Enumerations | Functions
irep.h File Reference

More...

#include "common.h"
#include <mruby/compile.h>
Include dependency graph for irep.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  mrb_locals
 
struct  mrb_irep
 
struct  mrb_insn_data
 

Macros

#define MRB_ISEQ_NO_FREE   1
 

Typedefs

typedef struct mrb_irep mrb_irep
 

Enumerations

enum  irep_pool_type { IREP_TT_STRING, IREP_TT_FIXNUM, IREP_TT_FLOAT }
 Compiled mruby scripts.
 

Functions

mrb_irepmrb_add_irep (mrb_state *mrb)
 
mrb_value mrb_load_irep (mrb_state *, const uint8_t *)
 
mrb_value mrb_load_irep_buf (mrb_state *, const void *, size_t)
 
mrb_value mrb_load_irep_cxt (mrb_state *, const uint8_t *, mrbc_context *)
 
mrb_value mrb_load_irep_buf_cxt (mrb_state *, const void *, size_t, mrbc_context *)
 
void mrb_irep_free (mrb_state *, struct mrb_irep *)
 
void mrb_irep_incref (mrb_state *, struct mrb_irep *)
 
void mrb_irep_decref (mrb_state *, struct mrb_irep *)
 
void mrb_irep_cutref (mrb_state *, struct mrb_irep *)
 
void mrb_irep_remove_lv (mrb_state *mrb, mrb_irep *irep)
 
struct mrb_insn_data mrb_decode_insn (const mrb_code *pc)
 

Detailed Description

See Copyright Notice in mruby.h