#include "ruby.h"
Go to the source code of this file.
Defines | |
| #define | cmperr() (rb_cmperr(x, y), Qnil) |
Functions | |
| int | rb_cmpint (VALUE val, VALUE a, VALUE b) |
| void | rb_cmperr (VALUE x, VALUE y) |
| VALUE | cmp_eq (VALUE *a) |
| VALUE | cmp_failed () |
| VALUE | cmp_equal (VALUE x, VALUE y) |
| VALUE | cmp_gt (VALUE x, VALUE y) |
| VALUE | cmp_ge (VALUE x, VALUE y) |
| VALUE | cmp_lt (VALUE x, VALUE y) |
| VALUE | cmp_le (VALUE x, VALUE y) |
| VALUE | cmp_between (VALUE x, VALUE min, VALUE max) |
| void | Init_Comparable () |
Variables | |
| VALUE | rb_mComparable |
| ID | cmp |
|
|
|
|
||||||||||||||||
|
Definition at line 186 of file compar.c. References cmp_gt(), cmp_lt(), Qfalse, Qtrue, RTEST, and VALUE. Referenced by Init_Comparable(). |
|
|
Definition at line 56 of file compar.c. References cmp, NIL_P, Qfalse, Qnil, Qtrue, rb_cmpint(), rb_funcall(), and VALUE. Referenced by cmp_equal(). |
|
||||||||||||
|
Definition at line 82 of file compar.c. References cmp_eq(), cmp_failed(), Qtrue, rb_rescue(), and VALUE. Referenced by Init_Comparable(). |
|
|
Definition at line 67 of file compar.c. References Qnil. Referenced by cmp_equal(). |
|
||||||||||||
|
Definition at line 121 of file compar.c. References cmp, cmperr, NIL_P, Qfalse, Qtrue, rb_cmpint(), rb_funcall(), and VALUE. Referenced by Init_Comparable(). |
|
||||||||||||
|
Definition at line 102 of file compar.c. References cmp, cmperr, NIL_P, Qfalse, Qtrue, rb_cmpint(), rb_funcall(), and VALUE. Referenced by cmp_between(), and Init_Comparable(). |
|
||||||||||||
|
Definition at line 160 of file compar.c. References cmp, cmperr, NIL_P, Qfalse, Qtrue, rb_cmpint(), rb_funcall(), and VALUE. Referenced by Init_Comparable(). |
|
||||||||||||
|
Definition at line 140 of file compar.c. References cmp, cmperr, NIL_P, Qfalse, Qtrue, rb_cmpint(), rb_funcall(), and VALUE. Referenced by cmp_between(), and Init_Comparable(). |
|
|
Definition at line 232 of file compar.c. References cmp, cmp_between(), cmp_equal(), cmp_ge(), cmp_gt(), cmp_le(), cmp_lt(), rb_define_method(), rb_define_module(), rb_intern(), and rb_mComparable. Referenced by rb_call_inits(). |
|
|
Definition at line 17 of file compar.c. Referenced by cmp_eq(), cmp_ge(), cmp_gt(), cmp_le(), cmp_lt(), and Init_Comparable(). |
|
|
Definition at line 15 of file compar.c. Referenced by Init_Comparable(), Init_File(), Init_Numeric(), Init_String(), and Init_Time(). |
1.3.5