summaryrefslogtreecommitdiff
path: root/internal/enc.h
diff options
context:
space:
mode:
Diffstat (limited to 'internal/enc.h')
-rw-r--r--internal/enc.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/internal/enc.h b/internal/enc.h
new file mode 100644
index 0000000000..afd8642627
--- /dev/null
+++ b/internal/enc.h
@@ -0,0 +1,24 @@
+#ifndef INTERNAL_ENC_H /* -*- C -*- */
+#define INTERNAL_ENC_H
+/**
+ * @file
+ * @brief Internal header for Encoding.
+ * @author \@shyouhei
+ * @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.
+ */
+
+
+/* us_ascii.c */
+#ifdef RUBY_ENCODING_H
+extern rb_encoding OnigEncodingUS_ASCII;
+#endif
+
+/* utf_8.c */
+#ifdef RUBY_ENCODING_H
+extern rb_encoding OnigEncodingUTF_8;
+#endif
+
+#endif /* INTERNAL_ENC_H */