{
return (FLOATP (key1)
&& FLOATP (key2)
- && XFLOAT (key1)->data == XFLOAT (key2)->data);
+ && XFLOAT_DATA (key1) == XFLOAT_DATA (key2));
}
case Lisp_Float:
{
- unsigned char *p = (unsigned char *) &XFLOAT (obj)->data;
- unsigned char *e = p + sizeof XFLOAT (obj)->data;
+ unsigned char *p = (unsigned char *) &XFLOAT_DATA (obj);
+ unsigned char *e = p + sizeof XFLOAT_DATA (obj);
for (hash = 0; p < e; ++p)
hash = SXHASH_COMBINE (hash, *p);
break;
}
-DEFUN ("hash-table-weak", Fhash_table_weak, Shash_table_weak, 1, 1, 0,
+DEFUN ("hash-table-weakness", Fhash_table_weakness, Shash_table_weakness,
+ 1, 1, 0,
"Return the weakness of TABLE.")
(table)
Lisp_Object table;
defsubr (&Shash_table_rehash_threshold);
defsubr (&Shash_table_size);
defsubr (&Shash_table_test);
- defsubr (&Shash_table_weak);
+ defsubr (&Shash_table_weakness);
defsubr (&Shash_table_p);
defsubr (&Sclrhash);
defsubr (&Sgethash);