Ruby: include/ruby/regex.h Source File

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

regex.h
Go to the documentation of this file.
1#ifndef ONIGURUMA_REGEX_H /*-*-C++-*-vi:se ft=cpp:*/
2#define ONIGURUMA_REGEX_H 1
12#if defined(__cplusplus)
13extern "C" {
14#if 0
15} /* satisfy cc-mode */
16#endif
17#endif
18
19#ifdef RUBY
20#include "ruby/oniguruma.h"
21#else
22#include "oniguruma.h"
23#endif
24
25RUBY_SYMBOL_EXPORT_BEGIN
26
27#ifndef ONIG_RUBY_M17N
28
29 ONIG_EXTERN OnigEncoding OnigEncDefaultCharEncoding;
30
31#define mbclen(p,e,enc) rb_enc_mbclen((p),(e),(enc))
32
33#endif /* ifndef ONIG_RUBY_M17N */
34
35RUBY_SYMBOL_EXPORT_END
36
37#if defined(__cplusplus)
38#if 0
39{ /* satisfy cc-mode */
40#endif
41} /* extern "C" { */
42#endif
43
44#endif /* ONIGURUMA_REGEX_H */
ONIG_EXTERN
#define ONIG_EXTERN
Definition: onigmo.h:46
oniguruma.h
OnigEncDefaultCharEncoding
ONIG_EXTERN OnigEncoding OnigEncDefaultCharEncoding
Definition: regex.h:29
OnigEncodingTypeST
Definition: onigmo.h:160