mruby/c VM Source Code release 4.0.0
Loading...
Searching...
No Matches
load.h
Go to the documentation of this file.
1
14
15#ifndef MRBC_SRC_LOAD_H_
16#define MRBC_SRC_LOAD_H_
17
18/***** Feature test switches ************************************************/
19/***** System headers *******************************************************/
20//@cond
21#include <stdint.h>
22//@endcond
23
24/***** Local headers ********************************************************/
25#include "value.h"
26#include "vm.h"
27
28#ifdef __cplusplus
29extern "C" {
30#endif
31/***** Constat values *******************************************************/
32/***** Macros ***************************************************************/
33/***** Typedefs *************************************************************/
34// pre define of some struct
35struct IREP;
36
37/***** Global variables *****************************************************/
38/***** Function prototypes **************************************************/
39//@cond
40int mrbc_load_mrb(mrbc_vm *vm, const void *bytecode);
41int mrbc_load_irep(mrbc_vm *vm, const void *bytecode);
42void mrbc_irep_free(mrbc_irep *irep);
44//@endcond
45
46
47/***** Inline functions *****************************************************/
48
49#ifdef __cplusplus
50}
51#endif
52#endif
struct RObject mrbc_value
Value object. Default version.
mrbc_value mrbc_irep_pool_value(mrbc_vm *vm, int n)
Definition load.c:398
void mrbc_irep_free(mrbc_irep *irep)
Definition load.c:352
int mrbc_load_mrb(mrbc_vm *vm, const void *bytecode)
Definition load.c:303
int mrbc_load_irep(mrbc_vm *vm, const void *bytecode)
Definition load.c:335
IREP Internal REPresentation.
Definition vm.h:43
mruby/c value definitions
mruby bytecode executor.
struct IREP mrbc_irep
IREP Internal REPresentation.
struct VM mrbc_vm
Virtual Machine.