update `hash'
authorAndy Wingo <wingo@pobox.com>
Tue, 25 Oct 2011 23:44:48 +0000 (01:44 +0200)
committerAndy Wingo <wingo@pobox.com>
Tue, 25 Oct 2011 23:44:48 +0000 (01:44 +0200)
commit9d013330154852bc2309947adaa30b32418642c0
tree58068096beed57b9046bc04282217f945b681092
parent92e35e8daa4c46b08fabf84407ff8435033af87f
update `hash'

* libguile/hash.c (scm_raw_ihash): Rename from `hasher'.  Remove the
  modulo argument; we expect the caller to deal with that.  Use
  scm_i_hashq for immediates and non-immediate integers.  Use
  scm_raw_ihashq on pointers too.  Update the vector and pairs hashing
  code.  There is still some work to do here.
  (scm_ihashv, scm_ihash): Adapt.
libguile/hash.c