Ruby  3.1.4p223 (2023-03-30 revision HEAD)
regex.h
1 #ifndef ONIGURUMA_REGEX_H /*-*-C++-*-vi:se ft=cpp:*/
2 #define ONIGURUMA_REGEX_H 1
11 #if defined(__cplusplus)
12 extern "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 
24 RUBY_SYMBOL_EXPORT_BEGIN
25 
26 #ifndef ONIG_RUBY_M17N
27 
28 ONIG_EXTERN OnigEncoding OnigEncDefaultCharEncoding;
29 
30 #define mbclen(p,e,enc) rb_enc_mbclen((p),(e),(enc))
31 
32 #endif /* ifndef ONIG_RUBY_M17N */
33 
34 RUBY_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 */