Merge pull request #2991 from shyouhei/ruby.h
[ruby.git] / internal / eval.h
blob75c07692d4018e653134c2d3cfdcf3c5d1537176
1 /** \noop-*-C-*-vi:ft=c
2 * @file
3 * @author Ruby developers <ruby-core@ruby-lang.org>
4 * @copyright This file is a part of the programming language Ruby.
5 * Permission is hereby granted, to either redistribute and/or
6 * modify this file, provided that the conditions mentioned in the
7 * file COPYING are met. Consult the file for details.
8 * @brief Internal header for the evaluator.
9 * @note There also is eval_intern.h, which is evaluator's internal
10 * header (related to this file, but not the same role).
12 #ifndef INTERNAL_EVAL_H
13 #define INTERNAL_EVAL_H
14 #include "ruby/ruby.h" /* for ID */
16 #define id_signo ruby_static_id_signo
17 #define id_status ruby_static_id_status
19 /* eval.c */
20 extern ID ruby_static_id_signo;
21 extern ID ruby_static_id_status;
22 VALUE rb_refinement_module_get_refined_class(VALUE module);
23 void rb_class_modify_check(VALUE);
24 NORETURN(VALUE rb_f_raise(int argc, VALUE *argv));
26 /* eval_error.c */
27 VALUE rb_get_backtrace(VALUE info);
29 /* eval_jump.c */
30 void rb_call_end_proc(VALUE data);
31 void rb_mark_end_proc(void);
33 #endif /* INTERNAL_EVAL_H */