diff options
Diffstat (limited to 'src/regex.h')
| -rw-r--r-- | src/regex.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/src/regex.h b/src/regex.h new file mode 100644 index 000000000..b5472122a --- /dev/null +++ b/src/regex.h @@ -0,0 +1,32 @@ +/********************************************************************** + + regex.h - + + $Author: akr $ + + Copyright (C) 1993-2007 Yukihiro Matsumoto + +**********************************************************************/ + +#ifndef ONIGURUMA_REGEX_H +#define ONIGURUMA_REGEX_H 1 + +#if defined(__cplusplus) +extern "C" { +#endif + +#include "oniguruma.h" + +#ifndef ONIG_RUBY_M17N + +ONIG_EXTERN OnigEncoding OnigEncDefaultCharEncoding; + +#define mbclen(p,e,enc) mrb_enc_mbclen((p),(e),(enc)) + +#endif /* ifndef ONIG_RUBY_M17N */ + +#if defined(__cplusplus) +} /* extern "C" { */ +#endif + +#endif /* ONIGURUMA_REGEX_H */ |
