Function: sxhash-eq

sxhash-eq is a function defined in fns.c.

Signature

(sxhash-eq OBJ)

Documentation

Return an integer hash code for OBJ suitable for eq.

If (eq A B), then (= (sxhash-eq A) (sxhash-eq B)).

Hash codes are not guaranteed to be preserved across Emacs sessions.

View in manual

Probably introduced at or before Emacs version 26.1.

Source Code

// Defined in /usr/src/emacs/src/fns.c
{
  return reduce_emacs_uint_to_fixnum (sxhash_eq (obj));
}