Commit | Line | Data |
---|---|---|
0f2d19dd JB |
1 | /* classes: h_files */ |
2 | ||
0527e687 DH |
3 | #ifndef SCM_HASH_H |
4 | #define SCM_HASH_H | |
5 | ||
894d0b89 LC |
6 | /* Copyright (C) 1995, 1996, 2000, 2006, 2008, 2011, |
7 | * 2015 Free Software Foundation, Inc. | |
0527e687 | 8 | * |
73be1d9e | 9 | * This library is free software; you can redistribute it and/or |
53befeb7 NJ |
10 | * modify it under the terms of the GNU Lesser General Public License |
11 | * as published by the Free Software Foundation; either version 3 of | |
12 | * the License, or (at your option) any later version. | |
0527e687 | 13 | * |
53befeb7 NJ |
14 | * This library is distributed in the hope that it will be useful, but |
15 | * WITHOUT ANY WARRANTY; without even the implied warranty of | |
73be1d9e MV |
16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
17 | * Lesser General Public License for more details. | |
0527e687 | 18 | * |
73be1d9e MV |
19 | * You should have received a copy of the GNU Lesser General Public |
20 | * License along with this library; if not, write to the Free Software | |
53befeb7 NJ |
21 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA |
22 | * 02110-1301 USA | |
73be1d9e | 23 | */ |
0527e687 | 24 | |
0f2d19dd JB |
25 | \f |
26 | ||
b4309c3c | 27 | #include "libguile/__scm.h" |
0f2d19dd JB |
28 | |
29 | \f | |
0f2d19dd | 30 | |
62241538 AW |
31 | SCM_INTERNAL unsigned long scm_i_locale_string_hash (const char *str, |
32 | size_t len); | |
33 | SCM_INTERNAL unsigned long scm_i_latin1_string_hash (const char *str, | |
34 | size_t len); | |
35 | SCM_INTERNAL unsigned long scm_i_utf8_string_hash (const char *str, | |
36 | size_t len); | |
37 | ||
e23106d5 | 38 | SCM_INTERNAL unsigned long scm_i_string_hash (SCM str); |
33b001fd MV |
39 | SCM_API unsigned long scm_ihashq (SCM obj, unsigned long n); |
40 | SCM_API SCM scm_hashq (SCM obj, SCM n); | |
41 | SCM_API unsigned long scm_ihashv (SCM obj, unsigned long n); | |
42 | SCM_API SCM scm_hashv (SCM obj, SCM n); | |
43 | SCM_API unsigned long scm_ihash (SCM obj, unsigned long n); | |
44 | SCM_API SCM scm_hash (SCM obj, SCM n); | |
102dbb6f | 45 | SCM_INTERNAL void scm_init_hash (void); |
0f2d19dd | 46 | |
0527e687 | 47 | #endif /* SCM_HASH_H */ |
89e00824 ML |
48 | |
49 | /* | |
50 | Local Variables: | |
51 | c-file-style: "gnu" | |
52 | End: | |
53 | */ |