Ruby: include/ruby/internal/intern/re.h Source File

Ruby 3.0.5p211 (2022-11-24 revision ba5cf0f7c52d4d35cc6a173c89eda98ceffa2dcf)

re.h
Go to the documentation of this file.
1#ifndef RBIMPL_INTERN_RE_H /*-*-C++-*-vi:se ft=cpp:*/
2#define RBIMPL_INTERN_RE_H
23#include "ruby/internal/dllexport.h"
24#include "ruby/internal/value.h"
25
26 RBIMPL_SYMBOL_EXPORT_BEGIN()
27
28/* re.c */
29#define rb_memcmp memcmp
30int rb_memcicmp(const void*,const void*,long);
31void rb_match_busy(VALUE);
32 VALUE rb_reg_nth_defined(int, VALUE);
33 VALUE rb_reg_nth_match(int, VALUE);
34int rb_reg_backref_number(VALUE match, VALUE backref);
35 VALUE rb_reg_last_match(VALUE);
36 VALUE rb_reg_match_pre(VALUE);
37 VALUE rb_reg_match_post(VALUE);
38 VALUE rb_reg_match_last(VALUE);
39#define HAVE_RB_REG_NEW_STR 1
40 VALUE rb_reg_new_str(VALUE, int);
41 VALUE rb_reg_new(const char *, long, int);
42 VALUE rb_reg_alloc(void);
43 VALUE rb_reg_init_str(VALUE re, VALUE s, int options);
44 VALUE rb_reg_match(VALUE, VALUE);
45 VALUE rb_reg_match2(VALUE);
46int rb_reg_options(VALUE);
47
48 RBIMPL_SYMBOL_EXPORT_END()
49
50#endif /* RBIMPL_INTERN_RE_H */
dllexport.h
Tewaking visibility of C variables/functions.
RBIMPL_SYMBOL_EXPORT_END
#define RBIMPL_SYMBOL_EXPORT_END()
Counterpart of RBIMPL_SYMBOL_EXPORT_BEGIN.
Definition: dllexport.h:86
RBIMPL_SYMBOL_EXPORT_BEGIN
#define RBIMPL_SYMBOL_EXPORT_BEGIN()
Shortcut macro equivalent to RUBY_SYMBOL_EXPORT_BEGIN extern "C" {.
Definition: dllexport.h:77
match
unsigned char match[65280+2]
Definition: gun.c:165
rb_reg_backref_number
int rb_reg_backref_number(VALUE match, VALUE backref)
Definition: re.c:1191
rb_reg_nth_defined
VALUE rb_reg_nth_defined(int, VALUE)
Definition: re.c:1707
rb_reg_last_match
VALUE rb_reg_last_match(VALUE)
Definition: re.c:1750
rb_reg_match_post
VALUE rb_reg_match_post(VALUE)
Definition: re.c:1794
rb_match_busy
void rb_match_busy(VALUE)
Definition: re.c:1305
rb_reg_match_pre
VALUE rb_reg_match_pre(VALUE)
Definition: re.c:1768
rb_reg_options
int rb_reg_options(VALUE)
Definition: re.c:3593
rb_reg_match
VALUE rb_reg_match(VALUE, VALUE)
Definition: re.c:3194
rb_reg_new
VALUE rb_reg_new(const char *, long, int)
Definition: re.c:2960
rb_memcicmp
int rb_memcicmp(const void *, const void *, long)
Definition: re.c:88
rb_reg_nth_match
VALUE rb_reg_nth_match(int, VALUE)
Definition: re.c:1725
rb_reg_match2
VALUE rb_reg_match2(VALUE)
Definition: re.c:3253
rb_reg_init_str
VALUE rb_reg_init_str(VALUE re, VALUE s, int options)
Definition: re.c:2912
rb_reg_new_str
VALUE rb_reg_new_str(VALUE, int)
Definition: re.c:2906
rb_reg_match_last
VALUE rb_reg_match_last(VALUE)
Definition: re.c:1811
rb_reg_alloc
VALUE rb_reg_alloc(void)
Definition: re.c:2900
value.h
Defines VALUE and ID.
VALUE
unsigned long VALUE
Definition: value.h:38