Fixed extern "C" to use MRB_BEGIN/END_DECL in re.h

This commit is contained in:
Tomasz Dąbrowski
2016-11-22 13:34:40 +01:00
parent fb7776586e
commit 52b40cb4d0
+2 -6
View File
@@ -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 */