summaryrefslogtreecommitdiffhomepage
path: root/src/regex.h
blob: 4cdad2a33867b17a37a7bc13b9fd77dbc88ffde3 (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
27
28
/*
** 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

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