summaryrefslogtreecommitdiff
path: root/internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'internal.h')
-rw-r--r--internal.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/internal.h b/internal.h
index d135035607..eb78a88ae1 100644
--- a/internal.h
+++ b/internal.h
@@ -1129,6 +1129,11 @@ size_t rb_str_memsize(VALUE);
VALUE rb_sym_proc_call(VALUE args, VALUE sym, int argc, const VALUE *argv, VALUE passed_proc);
VALUE rb_sym_to_proc(VALUE sym);
+/* symbol.c */
+#ifdef RUBY_ENCODING_H
+VALUE rb_cstr_intern(const char *ptr, long len, rb_encoding *enc);
+#endif
+
/* struct.c */
VALUE rb_struct_init_copy(VALUE copy, VALUE s);