* whether to permit this exception to apply to your modifications.
* If you do not wish that, delete this exception notice. */
-/* Software engineering face-lift by Greg J. Badros, 11-Dec-1999,
- gjb@cs.washington.edu, http://www.cs.washington.edu/homes/gjb */
\f
obj = scm_number_to_string (obj, SCM_MAKINUM (10));
}
case scm_tc7_string:
- case scm_tc7_substring:
return scm_string_hash (SCM_STRING_UCHARS (obj), SCM_STRING_LENGTH (obj)) % n;
case scm_tc7_symbol:
return SCM_SYMBOL_HASH (obj) % n;
case scm_tc7_vector:
{
size_t len = SCM_VECTOR_LENGTH(obj);
- SCM *data = SCM_VELTS(obj);
+ SCM const *data = SCM_VELTS(obj);
if (len > 5)
{
size_t i = d/2;
void
scm_init_hash ()
{
-#ifndef SCM_MAGIC_SNARFER
#include "libguile/hash.x"
-#endif
}