aboutsummaryrefslogtreecommitdiffstats
path: root/internal.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-07-30 12:36:31 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-07-30 12:36:31 +0000
commit6db9db48aded195bda3a888ceac0c1cdd7c62d05 (patch)
tree4652e2c851dbff848d405466f79948975b3ff474 /internal.h
parente1b064c576007805067359479c8595a2f3cc23ef (diff)
downloadruby-6db9db48aded195bda3a888ceac0c1cdd7c62d05.tar.gz
string.c: rb_to_symbol
* string.c (rb_to_symbol): new function to convert an object to a symbol. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47003 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'internal.h')
-rw-r--r--internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal.h b/internal.h
index c91670a388..4a5134d20a 100644
--- a/internal.h
+++ b/internal.h
@@ -810,6 +810,7 @@ void rb_gc_free_dsymbol(VALUE);
VALUE rb_str_dynamic_intern(VALUE);
ID rb_id_attrget(ID id);
+VALUE rb_to_symbol(VALUE name);
VALUE rb_check_symbol(volatile VALUE *namep);
#ifdef RUBY_ENCODING_H
VALUE rb_check_symbol_cstr(const char *ptr, long len, rb_encoding *enc);