Ruby 2.7.7p221 (2022-11-24 revision 168ec2b1e5ad0e4688e963d9de019557c78feed9)
regex.h
Go to the documentation of this file.
1/**********************************************************************
2
3 regex.h -
4
5 $Author$
6
7 Copyright (C) 1993-2007 Yukihiro Matsumoto
8
9**********************************************************************/
10
11#ifndef ONIGURUMA_REGEX_H
12#define ONIGURUMA_REGEX_H 1
13
14#if defined(__cplusplus)
15extern "C" {
16#if 0
17} /* satisfy cc-mode */
18#endif
19#endif
20
21#ifdef RUBY
22#include "ruby/oniguruma.h"
23#else
24#include "oniguruma.h"
25#endif
26
28
29#ifndef ONIG_RUBY_M17N
30
32
33#define mbclen(p,e,enc) rb_enc_mbclen((p),(e),(enc))
34
35#endif /* ifndef ONIG_RUBY_M17N */
36
38
39#if defined(__cplusplus)
40#if 0
41{ /* satisfy cc-mode */
42#endif
43} /* extern "C" { */
44#endif
45
46#endif /* ONIGURUMA_REGEX_H */
#define ONIG_EXTERN
Definition: onigmo.h:59
#define RUBY_SYMBOL_EXPORT_BEGIN
#define RUBY_SYMBOL_EXPORT_END
RUBY_SYMBOL_EXPORT_BEGIN ONIG_EXTERN OnigEncoding OnigEncDefaultCharEncoding
Definition: regex.h:31