aboutsummaryrefslogtreecommitdiffstats
path: root/symbol.h
diff options
context:
space:
mode:
Diffstat (limited to 'symbol.h')
-rw-r--r--symbol.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/symbol.h b/symbol.h
index 7d147a4bd1..56568a91fc 100644
--- a/symbol.h
+++ b/symbol.h
@@ -98,6 +98,8 @@ is_global_name_punct(const int c)
return (ruby_global_name_punct_bits[(c - 0x20) / 32] >> (c % 32)) & 1;
}
+int rb_enc_symname_type(const char *name, long len, rb_encoding *enc, unsigned int allowed_attrset);
+
RUBY_SYMBOL_EXPORT_BEGIN
size_t rb_sym_immortal_count(void);