示例#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));
}