summaryrefslogtreecommitdiff
path: root/encindex.h
diff options
context:
space:
mode:
Diffstat (limited to 'encindex.h')
-rw-r--r--encindex.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/encindex.h b/encindex.h
index dcb1646f3a..658b60a9fd 100644
--- a/encindex.h
+++ b/encindex.h
@@ -57,6 +57,8 @@ enum ruby_preserved_encindex {
#define rb_utf8_encindex() RUBY_ENCINDEX_UTF_8
#define rb_usascii_encindex() RUBY_ENCINDEX_US_ASCII
+int rb_enc_find_index2(const char *name, long len);
+
#if defined(__cplusplus)
#if 0
{ /* satisfy cc-mode */