Commit 52b40cb4 authored by Tomasz Dąbrowski's avatar Tomasz Dąbrowski

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

parent fb777658
......@@ -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 */
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