예제 #1
0
static VALUE
nurat_hash(VALUE self)
{
    get_dat1(self);
    return f_xor(dat->num, dat->den);
}
예제 #2
0
파일: complex.c 프로젝트: Netfart/rhodes
static VALUE
nucomp_hash(VALUE self)
{
    get_dat1(self);
    return f_xor(f_hash(dat->real), f_hash(dat->imag));
}