From 2e3d3bb91681a9f916f862a05ebc9736a15e3dda Mon Sep 17 00:00:00 2001 From: ksaito Date: Sun, 13 Feb 2005 01:39:06 +0000 Subject: [PATCH] This commit was generated by cvs2svn to compensate for changes in r7956, which included commits to RCS files with non-trunk default branches. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7957 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- oniggnu.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/oniggnu.h b/oniggnu.h index e63374efc0..0882577760 100644 --- a/oniggnu.h +++ b/oniggnu.h @@ -31,6 +31,10 @@ #include "oniguruma.h" +#ifdef __cplusplus +extern "C" { +#endif + #define MBCTYPE_ASCII 0 #define MBCTYPE_EUC 1 #define MBCTYPE_SJIS 2 @@ -107,4 +111,8 @@ void re_free_registers P_((struct re_registers*)); ONIG_EXTERN int re_alloc_pattern P_((struct re_pattern_buffer**)); /* added */ +#ifdef __cplusplus +} +#endif + #endif /* ONIGGNU_H */