mruby bytecode executor. More...
Go to the source code of this file.
Data Structures | |
| struct | IREP |
| IREP Internal REPresentation. More... | |
| struct | IREP_CATCH_HANDLER |
| IREP Catch Handler. More... | |
| struct | CALLINFO |
| Call information. More... | |
| struct | VM |
| Virtual Machine. More... | |
Macros | |
| #define | mrbc_irep_tbl_syms(irep) |
| get a symbol id table pointer. | |
| #define | mrbc_irep_symbol_id(irep, n) |
| get a n'th symbol id in irep | |
| #define | mrbc_irep_symbol_cstr(irep, n) |
| get a n'th symbol string in irep | |
| #define | mrbc_irep_tbl_pools(irep) |
| get a pool data offset table pointer. | |
| #define | mrbc_irep_pool_ptr(irep, n) |
| get a pointer to n'th pool data. | |
| #define | mrbc_irep_tbl_ireps(irep) |
| get a child irep table pointer. | |
| #define | mrbc_irep_child_irep(irep, n) |
| get a n'th child irep | |
Typedefs | |
| typedef struct IREP | mrbc_irep |
| IREP Internal REPresentation. | |
| typedef struct IREP | mrb_irep |
| typedef struct IREP_CATCH_HANDLER | mrbc_irep_catch_handler |
| IREP Catch Handler. | |
| typedef struct CALLINFO | mrbc_callinfo |
| Call information. | |
| typedef struct CALLINFO | mrb_callinfo |
| typedef struct VM | mrbc_vm |
| Virtual Machine. | |
| typedef struct VM | mrb_vm |
Functions | |
| static mrbc_value * | mrbc_get_self (struct VM *vm, mrbc_value *regs) |
| static int | mrbc_c_block_given (struct VM *vm, mrbc_value v[], int argc) |
mruby bytecode executor.
Copyright (C) 2015- Kyushu Institute of Technology. Copyright (C) 2015- Shimane IT Open-Innovation Center. This file is distributed under BSD 3-Clause License. Fetch mruby VM bytecodes, decode and execute.
Definition in file vm.h.
| #define mrbc_irep_child_irep | ( | irep, | |
| n ) |
get a n'th child irep
| #define mrbc_irep_pool_ptr | ( | irep, | |
| n ) |
get a pointer to n'th pool data.
| #define mrbc_irep_symbol_cstr | ( | irep, | |
| n ) |
get a n'th symbol string in irep
| #define mrbc_irep_symbol_id | ( | irep, | |
| n ) |
get a n'th symbol id in irep
| #define mrbc_irep_tbl_ireps | ( | irep | ) |
| #define mrbc_irep_tbl_pools | ( | irep | ) |
| #define mrbc_irep_tbl_syms | ( | irep | ) |
get a symbol id table pointer.
| typedef struct CALLINFO mrb_callinfo |
| typedef struct CALLINFO mrbc_callinfo |
Call information.
| typedef struct IREP_CATCH_HANDLER mrbc_irep_catch_handler |
IREP Catch Handler.
|
inlinestatic |
|
inlinestatic |