Skip to content
Permalink
Browse files
Fixed extern "C" to use MRB_BEGIN/END_DECL in re.h
  • Loading branch information
dabroz committed Nov 22, 2016
1 parent fb77765 commit 52b40cb4d0e78cf58592c2e38db1df65b2dd9041
Showing 1 changed file with 2 additions and 6 deletions.
@@ -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 */

0 comments on commit 52b40cb

Please sign in to comment.