Ruby
2.0.0p247(2013-06-27revision41674)
|
00001 /********************************************************************** 00002 00003 regex.h - 00004 00005 $Author: nobu $ 00006 00007 Copyright (C) 1993-2007 Yukihiro Matsumoto 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 } /* satisfy cc-mode */ 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 /* ifndef ONIG_RUBY_M17N */ 00038 00039 #if defined __GNUC__ && __GNUC__ >= 4 00040 #pragma GCC visibility pop 00041 #endif 00042 00043 #if defined(__cplusplus) 00044 #if 0 00045 { /* satisfy cc-mode */ 00046 #endif 00047 } /* extern "C" { */ 00048 #endif 00049 00050 #endif /* ONIGURUMA_REGEX_H */ 00051