diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-06-29 02:26:46 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-06-29 02:26:46 +0000 |
commit | 13bc74fa748d2d947ee16f9a7436d374ced09db3 (patch) | |
tree | 7affa0280ebcf77523e23bf9b939bd0c018039de /internal.h | |
parent | 468c703d3065a443c134a3e04ff7a47b8645ee8d (diff) |
rb_builtin_type_name
* error.c (rb_builtin_type_name): extract from rb_check_type() for
debug purpose.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36249 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 77e6c2e191..73c04ec889 100644 --- a/internal.h +++ b/internal.h @@ -85,6 +85,7 @@ void rb_gc_mark_encodings(void); NORETURN(PRINTF_ARGS(void rb_compile_bug(const char*, int, const char*, ...), 3, 4)); VALUE rb_check_backtrace(VALUE); NORETURN(void rb_async_bug_errno(const char *,int)); +const char *rb_builtin_type_name(int t); /* eval_error.c */ void ruby_error_print(void); |