Ruby 3.1.3p185 (2022-11-24 revision 1a6b16756e0ba6b95ab71a441357ed5484e33498)
compile.h
1#ifndef INTERNAL_COMPILE_H /*-*-C-*-vi:se ft=c:*/
2#define INTERNAL_COMPILE_H
11#include "ruby/internal/config.h"
12#include <stddef.h> /* for size_t */
13#include "ruby/ruby.h" /* for rb_event_flag_t */
14
15struct rb_iseq_struct; /* in vm_core.h */
16
17/* compile.c */
18int rb_dvar_defined(ID, const struct rb_iseq_struct *);
19int rb_local_defined(ID, const struct rb_iseq_struct *);
20const char *rb_insns_name(int i);
21VALUE rb_insns_name_array(void);
22int rb_iseq_cdhash_cmp(VALUE val, VALUE lit);
23st_index_t rb_iseq_cdhash_hash(VALUE a);
24
25/* iseq.c */
26int rb_vm_insn_addr2insn(const void *);
27int rb_vm_insn_decode(const VALUE encoded);
28extern bool ruby_vm_keep_script_lines;
29
30MJIT_SYMBOL_EXPORT_BEGIN
31/* iseq.c (export) */
32rb_event_flag_t rb_iseq_event_flags(const struct rb_iseq_struct *iseq, size_t pos);
33MJIT_SYMBOL_EXPORT_END
34
35#endif /* INTERNAL_COMPILE_H */