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