summaryrefslogtreecommitdiff
path: root/internal/eval.h
diff options
context:
space:
mode:
author卜部昌平 <shyouhei@ruby-lang.org>2019-12-03 14:47:38 +0900
committer卜部昌平 <shyouhei@ruby-lang.org>2019-12-26 20:45:12 +0900
commitbf53d6c7d19f877c821901b3288d7f80955ffbb7 (patch)
tree4c4dbac564d721af8b295f55e6f81c21af8b0fbe /internal/eval.h
parent3ae09b30f8ba5ff4dd148d358f51b99ae0ae6c38 (diff)
downloadruby-bf53d6c7d19f877c821901b3288d7f80955ffbb7.tar.gz
other minior internal header tweaks
These headers need no rewrite. Just add some minor tweaks, like addition of #include lines. Mainly cosmetic. TIMET_MAX_PLUS_ONE was deleted because the macro was used from only one place (directly write expression there).
Diffstat (limited to 'internal/eval.h')
-rw-r--r--internal/eval.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/internal/eval.h b/internal/eval.h
index 5fc3b38e90..86729a8ff0 100644
--- a/internal/eval.h
+++ b/internal/eval.h
@@ -11,13 +11,16 @@
* @note There also is eval_intern.h, which is evaluator's internal
* header (related to this file, but not the same role).
*/
+#include "ruby/ruby.h" /* for ID */
+
+#define id_signo ruby_static_id_signo
+#define id_status ruby_static_id_status
/* eval.c */
+extern ID ruby_static_id_signo;
+extern ID ruby_static_id_status;
VALUE rb_refinement_module_get_refined_class(VALUE module);
-extern ID ruby_static_id_signo, ruby_static_id_status;
void rb_class_modify_check(VALUE);
-#define id_signo ruby_static_id_signo
-#define id_status ruby_static_id_status
NORETURN(VALUE rb_f_raise(int argc, VALUE *argv));
/* eval_error.c */