diff options
author | 卜部昌平 <[email protected]> | 2019-12-03 14:47:38 +0900 |
---|---|---|
committer | 卜部昌平 <[email protected]> | 2019-12-26 20:45:12 +0900 |
commit | bf53d6c7d19f877c821901b3288d7f80955ffbb7 (patch) | |
tree | 4c4dbac564d721af8b295f55e6f81c21af8b0fbe /internal/re.h | |
parent | 3ae09b30f8ba5ff4dd148d358f51b99ae0ae6c38 (diff) |
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).
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/2711
Diffstat (limited to 'internal/re.h')
-rw-r--r-- | internal/re.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/re.h b/internal/re.h index 7676030684..9cf8439345 100644 --- a/internal/re.h +++ b/internal/re.h @@ -9,6 +9,8 @@ * modify this file, provided that the conditions mentioned in the * file COPYING are met. Consult the file for details. */ +#include "internal/stdbool.h" /* for bool */ +#include "ruby/ruby.h" /* for VALUE */ /* re.c */ VALUE rb_reg_compile(VALUE str, int options, const char *sourcefile, int sourceline); @@ -20,6 +22,8 @@ void rb_backref_set_string(VALUE string, long pos, long len); void rb_match_unbusy(VALUE); int rb_match_count(VALUE match); int rb_match_nth_defined(int nth, VALUE match); +MJIT_SYMBOL_EXPORT_BEGIN VALUE rb_reg_new_ary(VALUE ary, int options); +MJIT_SYMBOL_EXPORT_END #endif /* INTERNAL_RE_H */ |