Ruby: internal/eval.h Source File

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

eval.h
Go to the documentation of this file.
1#ifndef INTERNAL_EVAL_H /*-*-C-*-vi:se ft=c:*/
2#define INTERNAL_EVAL_H
14#include "ruby/ruby.h" /* for ID */
15
16#define id_signo ruby_static_id_signo
17#define id_status ruby_static_id_status
18
19/* eval.c */
20extern ID ruby_static_id_signo;
21extern ID ruby_static_id_status;
22 VALUE rb_refinement_module_get_refined_class(VALUE module);
23void rb_class_modify_check(VALUE);
24 NORETURN(VALUE rb_f_raise(int argc, VALUE *argv));
25
26/* eval_error.c */
27 VALUE rb_get_backtrace(VALUE info);
28
29/* eval_jump.c */
30void rb_call_end_proc(VALUE data);
31void rb_mark_end_proc(void);
32
33#endif /* INTERNAL_EVAL_H */
NORETURN
#define NORETURN(x)
Definition: attributes.h:152
rb_class_modify_check
void rb_class_modify_check(VALUE)
Asserts that klass is not a frozen class.
Definition: eval.c:477
rb_get_backtrace
VALUE rb_get_backtrace(VALUE info)
Definition: error.c:1365
rb_mark_end_proc
void rb_mark_end_proc(void)
Definition: eval_jump.c:78
rb_f_raise
VALUE rb_f_raise(int argc, VALUE *argv)
Definition: eval.c:771
rb_call_end_proc
void rb_call_end_proc(VALUE data)
Definition: eval_jump.c:11
rb_refinement_module_get_refined_class
VALUE rb_refinement_module_get_refined_class(VALUE module)
Definition: eval.c:1513
ruby_static_id_signo
ID ruby_static_id_signo
Definition: eval.c:51
ruby_static_id_status
ID ruby_static_id_status
Definition: eval.c:51
ruby.h
argc
int argc
Definition: ruby.c:240
argv
char ** argv
Definition: ruby.c:241
VALUE
unsigned long VALUE
Definition: value.h:38
ID
unsigned long ID
Definition: value.h:39