summaryrefslogtreecommitdiffhomepage
path: root/src/regex.h
blob: f3f797b00e52478c01b5946229182403bd19e4f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*
** regex.h - Regexp class
**
** See Copyright Notice in mruby.h
*/

#ifndef ONIGURUMA_REGEX_H
#define ONIGURUMA_REGEX_H 1

#if defined(__cplusplus)
extern "C" {
#endif

#include "oniguruma.h"

#ifndef ONIG_RUBY_M17N

#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 */