Ruby  3.1.4p223 (2023-03-30 revision HEAD)
re.h
1 #ifndef INTERNAL_RE_H /*-*-C-*-vi:se ft=c:*/
2 #define INTERNAL_RE_H
11 #include "ruby/internal/stdbool.h" /* for bool */
12 #include "ruby/ruby.h" /* for VALUE */
13 
14 /* re.c */
15 VALUE rb_reg_compile(VALUE str, int options, const char *sourcefile, int sourceline);
16 VALUE rb_reg_check_preprocess(VALUE);
17 long rb_reg_search0(VALUE, VALUE, long, int, int);
18 VALUE rb_reg_match_p(VALUE re, VALUE str, long pos);
19 bool rb_reg_start_with_p(VALUE re, VALUE str);
20 VALUE rb_reg_hash(VALUE re);
21 VALUE rb_reg_equal(VALUE re1, VALUE re2);
22 void rb_backref_set_string(VALUE string, long pos, long len);
23 void rb_match_unbusy(VALUE);
24 int rb_match_count(VALUE match);
25 int rb_match_nth_defined(int nth, VALUE match);
26 MJIT_SYMBOL_EXPORT_BEGIN
27 VALUE rb_reg_new_ary(VALUE ary, int options);
28 MJIT_SYMBOL_EXPORT_END
29 
30 #endif /* INTERNAL_RE_H */
C99 shim for <stdbool.h>
uintptr_t VALUE
Type that represents a Ruby object.
Definition: value.h:40