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)
const char * rb_obj_classname(VALUE)
static int max(int a, int b)
static VALUE invcmp_recursive(VALUE x, VALUE y, int recursive)
rb_funcall(memo->yielder, id_lshift, 1, rb_assoc_new(memo->prev_value, memo->prev_elts))
static VALUE cmp_equal(VALUE x, VALUE y)
VALUE rb_exec_recursive_paired_outer(VALUE(*)(VALUE, VALUE, int), VALUE, VALUE, VALUE)
void rb_raise(VALUE exc, const char *fmt,...)
int rb_cmpint(VALUE val, VALUE a, VALUE b)
VALUE rb_rescue(VALUE(*b_proc)(ANYARGS), VALUE data1, VALUE(*r_proc)(ANYARGS), VALUE data2)
#define StringValuePtr(v)
VALUE rb_funcallv(VALUE, ID, int, const VALUE *)
Calls a method.
static VALUE cmp_between(VALUE x, VALUE min, VALUE max)
static VALUE cmp_ge(VALUE x, VALUE y)
static int min(int a, int b)
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(VALUE(*)(VALUE, VALUE, int), VALUE, VALUE)
#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)
VALUE rb_check_funcall(VALUE, ID, int, const VALUE *)
void rb_cmperr(VALUE x, VALUE y)