Method: Char#hashCode
- Defined in:
- ext/primitive/primitive.c
#hashCode ⇒ Object
826 827 828 829 830 831 832 |
# File 'ext/primitive/primitive.c', line 826
static VALUE
r_Char_hashCode(VALUE self)
{
Char *p;
Data_Get_Struct(self, Char, p);
return __allocate_Int32(__hash_int32(p->value));
}
|