Ruby: internal/compile.h Source File

Ruby 3.0.5p211 (2022-11-24 revision ba5cf0f7c52d4d35cc6a173c89eda98ceffa2dcf)

compile.h
Go to the documentation of this file.
1#ifndef INTERNAL_COMPILE_H /*-*-C-*-vi:se ft=c:*/
2#define INTERNAL_COMPILE_H
12#include "ruby/internal/config.h"
13#include <stddef.h> /* for size_t */
14#include "ruby/ruby.h" /* for rb_event_flag_t */
15
16struct rb_iseq_struct; /* in vm_core.h */
17
18/* compile.c */
19 int rb_dvar_defined(ID, const struct rb_iseq_struct *);
20 int rb_local_defined(ID, const struct rb_iseq_struct *);
21const char *rb_insns_name(int i);
22 VALUE rb_insns_name_array(void);
23
24/* iseq.c */
25int rb_vm_insn_addr2insn(const void *);
26
27 MJIT_SYMBOL_EXPORT_BEGIN
28/* iseq.c (export) */
29 rb_event_flag_t rb_iseq_event_flags(const struct rb_iseq_struct *iseq, size_t pos);
30 MJIT_SYMBOL_EXPORT_END
31
32#endif /* INTERNAL_COMPILE_H */
rb_iseq_event_flags
rb_event_flag_t rb_iseq_event_flags(const struct rb_iseq_struct *iseq, size_t pos)
rb_vm_insn_addr2insn
int rb_vm_insn_addr2insn(const void *)
Definition: iseq.c:3172
rb_local_defined
int rb_local_defined(ID, const struct rb_iseq_struct *)
rb_insns_name_array
VALUE rb_insns_name_array(void)
Definition: compile.c:9178
rb_insns_name
const char * rb_insns_name(int i)
Definition: compile.c:9172
rb_dvar_defined
int rb_dvar_defined(ID, const struct rb_iseq_struct *)
MJIT_SYMBOL_EXPORT_END
#define MJIT_SYMBOL_EXPORT_END
Definition: dllexport.h:63
MJIT_SYMBOL_EXPORT_BEGIN
#define MJIT_SYMBOL_EXPORT_BEGIN
Definition: dllexport.h:62
rb_event_flag_t
uint32_t rb_event_flag_t
Definition: event.h:66
config.h
Thin wrapper to ruby/config.h.
ruby.h
rb_iseq_struct
Definition: vm_core.h:444
VALUE
unsigned long VALUE
Definition: value.h:38
ID
unsigned long ID
Definition: value.h:39