mruby/c VM Source Code release 3.4
Loading...
Searching...
No Matches
c_proc.h
Go to the documentation of this file.
1
13
14#ifndef MRBC_SRC_C_PROC_H_
15#define MRBC_SRC_C_PROC_H_
16
17/***** Feature test switches ************************************************/
18/***** System headers *******************************************************/
19//@cond
20#include "vm_config.h"
21#include <stdint.h>
22//@endcond
23
24/***** Local headers ********************************************************/
25#include "value.h"
26
27#ifdef __cplusplus
28extern "C" {
29#endif
30
31/***** Constat values *******************************************************/
32/***** Macros ***************************************************************/
33/***** Typedefs *************************************************************/
34//================================================================
51typedef struct RProc mrb_proc;
52
53
54/***** Global variables *****************************************************/
55/***** Function prototypes **************************************************/
56//@cond
57mrbc_value mrbc_proc_new(struct VM *vm, void *irep, uint8_t b_or_m);
59void mrbc_proc_clear_vm_id(mrbc_value *v);
60//@endcond
61
62
63/***** Inline functions *****************************************************/
64
65
66#ifdef __cplusplus
67}
68#endif
69#endif
void mrbc_proc_delete(mrbc_value *val)
Definition c_proc.c:73
mrbc_value mrbc_proc_new(struct VM *vm, void *irep, uint8_t b_or_m)
Definition c_proc.c:42
struct RProc mrbc_proc
Proc object.
struct RProc mrb_proc
Definition c_proc.h:51
Call information.
Definition vm.h:118
IREP Internal REPresentation.
Definition vm.h:42
Proc object.
Definition c_proc.h:40
struct IREP * irep
Definition c_proc.h:46
mrbc_value ret_val
Definition c_proc.h:48
mrbc_value self
Definition c_proc.h:47
MRBC_OBJECT_HEADER
Definition c_proc.h:41
uint8_t block_or_method
Definition c_proc.h:43
struct CALLINFO * callinfo
Definition c_proc.h:44
struct CALLINFO * callinfo_self
Definition c_proc.h:45
Virtual Machine.
Definition vm.h:140
mruby/c value definitions
struct RObject mrbc_value
Definition value.h:174
Global configuration of mruby/c VM's.