mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Fixed extern "C" to use MRB_BEGIN/END_DECL in re.h
This commit is contained in:
+2
-6
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user