summaryrefslogtreecommitdiff
path: root/include/ruby/regex.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ruby/regex.h')
-rw-r--r--include/ruby/regex.h25
1 files changed, 13 insertions, 12 deletions
diff --git a/include/ruby/regex.h b/include/ruby/regex.h
index a63e2f6a4c..53278173f8 100644
--- a/include/ruby/regex.h
+++ b/include/ruby/regex.h
@@ -1,16 +1,13 @@
-/**********************************************************************
-
- regex.h -
-
- $Author$
-
- Copyright (C) 1993-2007 Yukihiro Matsumoto
-
-**********************************************************************/
-
-#ifndef ONIGURUMA_REGEX_H
+#ifndef ONIGURUMA_REGEX_H /*-*-C++-*-vi:se ft=cpp:*/
#define ONIGURUMA_REGEX_H 1
-
+/**
+ * @author $Author$
+ * @copyright Copyright (C) 1993-2007 Yukihiro Matsumoto
+ * @copyright This file is a part of the programming language Ruby.
+ * Permission is hereby granted, to either redistribute and/or
+ * modify this file, provided that the conditions mentioned in the
+ * file COPYING are met. Consult the file for details.
+ */
#if defined(__cplusplus)
extern "C" {
#if 0
@@ -24,6 +21,8 @@ extern "C" {
#include "oniguruma.h"
#endif
+RUBY_SYMBOL_EXPORT_BEGIN
+
#ifndef ONIG_RUBY_M17N
ONIG_EXTERN OnigEncoding OnigEncDefaultCharEncoding;
@@ -32,6 +31,8 @@ ONIG_EXTERN OnigEncoding OnigEncDefaultCharEncoding;
#endif /* ifndef ONIG_RUBY_M17N */
+RUBY_SYMBOL_EXPORT_END
+
#if defined(__cplusplus)
#if 0
{ /* satisfy cc-mode */