00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 #ifndef ONIGURUMA_REGEX_H
00012 #define ONIGURUMA_REGEX_H 1
00013
00014 #if defined(__cplusplus)
00015 extern "C" {
00016 #if 0
00017 }
00018 #endif
00019 #endif
00020
00021 #ifdef RUBY
00022 #include "ruby/oniguruma.h"
00023 #else
00024 #include "oniguruma.h"
00025 #endif
00026
00027 #if defined __GNUC__ && __GNUC__ >= 4
00028 #pragma GCC visibility push(default)
00029 #endif
00030
00031 #ifndef ONIG_RUBY_M17N
00032
00033 ONIG_EXTERN OnigEncoding OnigEncDefaultCharEncoding;
00034
00035 #define mbclen(p,e,enc) rb_enc_mbclen((p),(e),(enc))
00036
00037 #endif
00038
00039 #if defined __GNUC__ && __GNUC__ >= 4
00040 #pragma GCC visibility pop
00041 #endif
00042
00043 #if defined(__cplusplus)
00044 #if 0
00045 {
00046 #endif
00047 }
00048 #endif
00049
00050 #endif
00051