Ruby: internal/re.h Source File

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

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);
17long rb_reg_search0(VALUE, VALUE, long, int, int);
18 VALUE rb_reg_match_p(VALUE re, VALUE str, long pos);
19bool 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);
22void rb_backref_set_string(VALUE string, long pos, long len);
23void rb_match_unbusy(VALUE);
24int rb_match_count(VALUE match);
25int rb_match_nth_defined(int nth, VALUE match);
26MJIT_SYMBOL_EXPORT_BEGIN
27 VALUE rb_reg_new_ary(VALUE ary, int options);
28MJIT_SYMBOL_EXPORT_END
29
30#endif /* INTERNAL_RE_H */
ruby.h
stdbool.h
C99 shim for <stdbool.h>
VALUE
uintptr_t VALUE
Type that represents a Ruby object.
Definition value.h:40