Ruby  2.5.0dev(2017-10-22revision60238)
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 
28 
29 #ifndef ONIG_RUBY_M17N
30 
32 
33 #define mbclen(p,e,enc) rb_enc_mbclen((p),(e),(enc))
34 
35 #endif /* ifndef ONIG_RUBY_M17N */
36 
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_BEGIN ONIG_EXTERN OnigEncoding OnigEncDefaultCharEncoding
Definition: regex.h:31
#define ONIG_EXTERN
Definition: onigmo.h:59
#define RUBY_SYMBOL_EXPORT_END
Definition: missing.h:49
#define RUBY_SYMBOL_EXPORT_BEGIN
Definition: missing.h:48