diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2016-11-22 22:22:47 +0900 |
|---|---|---|
| committer | GitHub <[email protected]> | 2016-11-22 22:22:47 +0900 |
| commit | f414ed03d6f68330378c688a462b1b9ac10d6e9e (patch) | |
| tree | 25066aa8960ac63b741bbafa87c3a4c235925476 /include | |
| parent | 8cba708854205ab8f2b6f8aed9aff12085131f12 (diff) | |
| parent | 52b40cb4d0e78cf58592c2e38db1df65b2dd9041 (diff) | |
| download | mruby-f414ed03d6f68330378c688a462b1b9ac10d6e9e.tar.gz mruby-f414ed03d6f68330378c688a462b1b9ac10d6e9e.zip | |
Merge pull request #3265 from dabroz/feature-fixexternc
Fixed C declaration in re.h
Diffstat (limited to 'include')
| -rw-r--r-- | include/mruby/re.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/include/mruby/re.h b/include/mruby/re.h index dfb3b0e2d..1d09d06c9 100644 --- a/include/mruby/re.h +++ b/include/mruby/re.h @@ -7,14 +7,10 @@ #ifndef MRUBY_RE_H #define MRUBY_RE_H -#ifdef __cplusplus -extern "C" { -#endif +MRB_BEGIN_DECL #define REGEXP_CLASS "Regexp" -#ifdef __cplusplus -} -#endif +MRB_END_DECL #endif /* RE_H */ |
