Ruby: include/ruby/regex.h Source File

Ruby 3.3.5p100 (2024-09-03 revision ef084cc8f4958c1b6e4ead99136631bef6d8ddba)

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