aboutsummaryrefslogtreecommitdiffstats
path: root/oniggnu.h
diff options
context:
space:
mode:
authorksaito <ksaito@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-02-13 01:39:06 +0000
committerksaito <ksaito@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-02-13 01:39:06 +0000
commit2e3d3bb91681a9f916f862a05ebc9736a15e3dda (patch)
tree66d8e292c9e6247067321396146c5af9154a9963 /oniggnu.h
parentd1d0c52a1ee0a9fbdb2472027cfa82c3da0ca0a8 (diff)
downloadruby-2e3d3bb91681a9f916f862a05ebc9736a15e3dda.tar.gz
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
Diffstat (limited to 'oniggnu.h')
-rw-r--r--oniggnu.h8
1 files changed, 8 insertions, 0 deletions
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 */