diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-05-08 03:56:12 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-05-08 03:56:12 +0000 |
commit | 698a24674eb0707fdc8d934084932e845db955cd (patch) | |
tree | 14332a4426614ee3b43f69a5c51a1117ec8d1ab2 /intern.h | |
parent | 908300d44f0d072d4ef2e6813794aa9170b9f618 (diff) |
* compar.c (rb_cmperr): raise comparison failure.
* intern.h: prototype; rb_cmperr
* numeric.c (flo_gt, flo_ge, flo_lt, flo_le, fix_gt, fix_ge,
fix_lt, fix_le): should fail unless the argument is comparable.
(ruby-bugs-ja:PR#456)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3768 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'intern.h')
-rw-r--r-- | intern.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -122,6 +122,7 @@ void rb_define_singleton_method _((VALUE, const char*, VALUE(*)(ANYARGS), int)); VALUE rb_singleton_class _((VALUE)); /* compar.c */ int rb_cmpint _((VALUE)); +NORETURN(void rb_cmperr _((VALUE, VALUE))); /* enum.c */ /* error.c */ RUBY_EXTERN int ruby_nerrs; |