Ruby  2.5.0dev(2017-10-22revision60238)
Macros | Functions | Variables
compar.c File Reference
#include "ruby/ruby.h"
#include "id.h"

Go to the source code of this file.

Macros

#define rb_intern(str)   rb_intern_const(str)
 

Functions

void rb_cmperr (VALUE x, VALUE y)
 
VALUE rb_invcmp (VALUE x, VALUE y)
 
void Init_Comparable (void)
 

Variables

VALUE rb_mComparable
 

Macro Definition Documentation

◆ rb_intern

#define rb_intern (   str)    rb_intern_const(str)

Function Documentation

◆ Init_Comparable()

void Init_Comparable ( void  )

Definition at line 249 of file compar.c.

References rb_define_method(), rb_define_module(), and rb_mComparable.

◆ rb_cmperr()

void rb_cmperr ( VALUE  x,
VALUE  y 
)

Definition at line 24 of file compar.c.

Referenced by rb_cmpint().

◆ rb_invcmp()

VALUE rb_invcmp ( VALUE  x,
VALUE  y 
)

Definition at line 46 of file compar.c.

References rb_exec_recursive().

Variable Documentation

◆ rb_mComparable

VALUE rb_mComparable

Definition at line 15 of file compar.c.

Referenced by Init_Comparable().