Ruby: internal/eval.h Source File

Ruby 3.2.5p208 (2024-07-26 revision 31d0f1a2e7dbfb60731d1f05b868e1d578cda493)

eval.h
1#ifndef INTERNAL_EVAL_H /*-*-C-*-vi:se ft=c:*/
2#define INTERNAL_EVAL_H
13#include "ruby/ruby.h" /* for ID */
14
15#define id_signo ruby_static_id_signo
16#define id_status ruby_static_id_status
17
18/* eval.c */
19extern ID ruby_static_id_signo;
20extern ID ruby_static_id_status;
21 VALUE rb_refinement_module_get_refined_class(VALUE module);
22void rb_class_modify_check(VALUE);
23NORETURN(VALUE rb_f_raise(int argc, VALUE *argv));
24 VALUE rb_top_main_class(const char *method);
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 */
rb_class_modify_check
void rb_class_modify_check(VALUE)
Asserts that klass is not a frozen class.
Definition eval.c:431
ruby.h
ID
uintptr_t ID
Type that represents a Ruby identifier such as a variable name.
Definition value.h:52
VALUE
uintptr_t VALUE
Type that represents a Ruby object.
Definition value.h:40