Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Globals

Compare
[Ruby]


Functions

int rb_cmpint (VALUE, VALUE, VALUE)
void rb_cmperr (VALUE, VALUE)


Function Documentation

void rb_cmperr VALUE  ,
VALUE 
 

This function does not return.

Definition at line 37 of file compar.c.

References rb_eArgError, rb_inspect(), rb_obj_classname(), rb_raise(), SPECIAL_CONST_P, StringValuePtr, and VALUE.

Referenced by int_downto(), int_upto(), rb_cmpint(), and rb_num_coerce_relop().

int rb_cmpint VALUE  ,
VALUE  ,
VALUE 
 

Definition at line 20 of file compar.c.

References FIX2INT, FIXNUM_P, INT2FIX, NIL_P, rb_cmperr(), rb_funcall(), RBIGNUM, RTEST, T_BIGNUM, TYPE, and VALUE.

Referenced by cmp_eq(), cmp_ge(), cmp_gt(), cmp_le(), cmp_lt(), max_i(), max_ii(), min_i(), min_ii(), r_le(), r_lt(), sort_1(), sort_2(), and sort_by_cmp().


Generated on Wed Jan 18 23:32:12 2006 for Ruby by doxygen 1.3.5