Ruby  2.0.0p645(2015-04-13revision50299)
regex.h
Go to the documentation of this file.
1 /**********************************************************************
2 
3  regex.h -
4 
5  $Author: nobu $
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 #if defined __GNUC__ && __GNUC__ >= 4
28 #pragma GCC visibility push(default)
29 #endif
30 
31 #ifndef ONIG_RUBY_M17N
32 
34 
35 #define mbclen(p,e,enc) rb_enc_mbclen((p),(e),(enc))
36 
37 #endif /* ifndef ONIG_RUBY_M17N */
38 
39 #if defined __GNUC__ && __GNUC__ >= 4
40 #pragma GCC visibility pop
41 #endif
42 
43 #if defined(__cplusplus)
44 #if 0
45 { /* satisfy cc-mode */
46 #endif
47 } /* extern "C" { */
48 #endif
49 
50 #endif /* ONIGURUMA_REGEX_H */
ONIG_EXTERN OnigEncoding OnigEncDefaultCharEncoding
Definition: ripper.y:182
#define ONIG_EXTERN
Definition: oniguruma.h:98