Ruby 2.7.0p0(2019-12-25revision647ee6f091eafcce70ffb75ddf7e121e192ab217)

regex.h
Go to the documentation of this file.
1 /**********************************************************************
2
3 regex.h -
4
5 $Author$
6
7 Copyright (C) 1993-2007 Yukihiro Matsumoto
8
9 **********************************************************************/
10
11 #ifndef ONIGURUMA_REGEX_H
12 #define ONIGURUMA_REGEX_H 1
13
14 #if defined(__cplusplus)
15 extern "C" {
16 #if 0
17 } /* satisfy cc-mode */
18 #endif
19 #endif
20
21 #ifdef RUBY
22 #include "ruby/oniguruma.h"
23 #else
24 #include "oniguruma.h"
25 #endif
26
27 RUBY_SYMBOL_EXPORT_BEGIN
28
29 #ifndef ONIG_RUBY_M17N
30
31 ONIG_EXTERN OnigEncoding OnigEncDefaultCharEncoding;
32
33 #define mbclen(p,e,enc) rb_enc_mbclen((p),(e),(enc))
34
35 #endif /* ifndef ONIG_RUBY_M17N */
36
37 RUBY_SYMBOL_EXPORT_END
38
39 #if defined(__cplusplus)
40 #if 0
41 { /* satisfy cc-mode */
42 #endif
43 } /* extern "C" { */
44 #endif
45
46 #endif /* ONIGURUMA_REGEX_H */
RUBY_SYMBOL_EXPORT_END
#define RUBY_SYMBOL_EXPORT_END
Definition: missing.h:49
OnigEncoding
const typedef OnigEncodingType * OnigEncoding
Definition: onigmo.h:182
OnigEncDefaultCharEncoding
RUBY_SYMBOL_EXPORT_BEGIN ONIG_EXTERN OnigEncoding OnigEncDefaultCharEncoding
Definition: regex.h:31
RUBY_SYMBOL_EXPORT_BEGIN
#define RUBY_SYMBOL_EXPORT_BEGIN
Definition: missing.h:48
oniguruma.h
ONIG_EXTERN
#define ONIG_EXTERN
Definition: onigmo.h:59