Commit f414ed03 authored by Yukihiro "Matz" Matsumoto's avatar Yukihiro "Matz" Matsumoto Committed by GitHub

Merge pull request #3265 from dabroz/feature-fixexternc

Fixed C declaration in re.h
parents 8cba7088 52b40cb4
...@@ -7,14 +7,10 @@ ...@@ -7,14 +7,10 @@
#ifndef MRUBY_RE_H #ifndef MRUBY_RE_H
#define MRUBY_RE_H #define MRUBY_RE_H
#ifdef __cplusplus MRB_BEGIN_DECL
extern "C" {
#endif
#define REGEXP_CLASS "Regexp" #define REGEXP_CLASS "Regexp"
#ifdef __cplusplus MRB_END_DECL
}
#endif
#endif /* RE_H */ #endif /* RE_H */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment