summaryrefslogtreecommitdiffstats
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
commit67ecfdd379d1830fea08703f266755c346d64b35 (patch)
tree66d8e292c9e6247067321396146c5af9154a9963 /oniggnu.h
parent794992fb0d0af0449b3296ecefdd4055933cd8b7 (diff)
downloadruby-67ecfdd379d1830fea08703f266755c346d64b35.tar.gz
ruby-67ecfdd379d1830fea08703f266755c346d64b35.tar.xz
ruby-67ecfdd379d1830fea08703f266755c346d64b35.zip
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: http://svn.ruby-lang.org/repos/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 e63374efc..088257776 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 */