37 if (recursive)
return Qnil;
57 if (recursive)
return Qfalse;
94 if (x == y)
return Qtrue;
234 #define rb_intern(str) rb_intern_const(str) static VALUE classname(VALUE klass, int *permanent)
Returns +classpath+ of klass, if it is named, or +nil+ for anonymous +class+/+module+.
static VALUE cmp_gt(VALUE x, VALUE y)
void Init_Comparable(void)
static VALUE cmp_eq(VALUE *a)
static VALUE cmp_le(VALUE x, VALUE y)
static int max(int a, int b)
static VALUE invcmp_recursive(VALUE x, VALUE y, int recursive)
static VALUE cmp_equal(VALUE x, VALUE y)
VALUE rb_funcall(VALUE, ID, int,...)
Calls a method.
void rb_raise(VALUE exc, const char *fmt,...)
VALUE rb_exec_recursive(VALUE(*)(VALUE, VALUE, int), VALUE, VALUE)
int rb_cmpint(VALUE val, VALUE a, VALUE b)
const char * rb_obj_classname(VALUE)
VALUE rb_rescue(VALUE(*b_proc)(ANYARGS), VALUE data1, VALUE(*r_proc)(ANYARGS), VALUE data2)
static VALUE cmp_between(VALUE x, VALUE min, VALUE max)
VALUE rb_check_funcall(VALUE, ID, int, VALUE *)
static VALUE cmp_ge(VALUE x, VALUE y)
static VALUE cmp_failed(void)
static VALUE cmp_eq_recursive(VALUE arg1, VALUE arg2, int recursive)
static VALUE cmp_lt(VALUE x, VALUE y)
VALUE rb_exec_recursive_paired_outer(VALUE(*)(VALUE, VALUE, int), VALUE, VALUE, VALUE)
#define StringValuePtr(v)
#define SPECIAL_CONST_P(x)
VALUE rb_define_module(const char *name)
VALUE rb_invcmp(VALUE x, VALUE y)
void rb_define_method(VALUE klass, const char *name, VALUE(*func)(ANYARGS), int argc)
void rb_cmperr(VALUE x, VALUE y)