diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-11 06:38:17 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-11 06:38:17 +0000 |
commit | 5a5a86cc527946fb40f241377179b0723f2348db (patch) | |
tree | ca199de0226f669396e84df7703e9b8eaef2d266 /internal.h | |
parent | 10ba3bdd533389fbd037be26930795d80d8f7104 (diff) | |
download | ruby-5a5a86cc527946fb40f241377179b0723f2348db.tar.gz |
hash.c: refine error messages
* hash.c (rb_hash_s_create): refine error messages.
* error.c (rb_builtin_class_name): share for above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'internal.h')
-rw-r--r-- | internal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/internal.h b/internal.h index cb688f1897..f925f94825 100644 --- a/internal.h +++ b/internal.h @@ -95,6 +95,7 @@ NORETURN(PRINTF_ARGS(void rb_compile_bug(const char*, int, const char*, ...), 3, VALUE rb_check_backtrace(VALUE); NORETURN(void rb_async_bug_errno(const char *,int)); const char *rb_builtin_type_name(int t); +const char *rb_builtin_class_name(VALUE x); /* eval_error.c */ void ruby_error_print(void); |