diff src/elhash.c @ 5520:05c1ad4f7a7b

Expand the documentation of #'eq-hash, mention the CL PRINT-OBJECT protocol 2011-06-19 Aidan Kehoe <kehoea@parhasard.net> * elhash.c (Feq_hash): Document that this returns, for non-immediate objects, a value that is unique among currently-reachable objects.
author Aidan Kehoe <kehoea@parhasard.net>
date Sun, 19 Jun 2011 16:37:17 +0100
parents 4dee0387b9de
children 58b38d5b32d0
line wrap: on
line diff
--- a/src/elhash.c	Sat Jun 04 14:17:59 2011 +0100
+++ b/src/elhash.c	Sun Jun 19 16:37:17 2011 +0100
@@ -2008,6 +2008,10 @@
 
 DEFUN ("eq-hash", Feq_hash, 1, 1, 0, /*
 Return a hash value for OBJECT appropriate for use with `eq.'
+
+If OBJECT is not immediate (it is not a fixnum or character) this hash value
+will be unique among currently-reachable objects, and is appropriate for
+implementing the Common Lisp PRINT-OBJECT protocol.
 */
        (object))
 {