summaryrefslogtreecommitdiffstats
path: root/hash.h
diff options
context:
space:
mode:
Diffstat (limited to 'hash.h')
-rw-r--r--hash.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/hash.h b/hash.h
index ccc74032..e92502a8 100644
--- a/hash.h
+++ b/hash.h
@@ -25,13 +25,13 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-typedef enum hash_flags {
+typedef enum hash_weak_opt {
hash_weak_none = 0,
hash_weak_keys = 1,
hash_weak_vals = 2,
hash_weak_or = 3,
hash_weak_and = 4,
-} hash_flags_t;
+} hash_weak_opt_t;
struct hash_iter {
struct hash_iter *next;
@@ -47,7 +47,7 @@ extern struct cobj_class *hash_cls;
ucnum equal_hash(val obj, int *count, ucnum);
val make_seeded_hash(val weak_keys, val weak_vals, val equal_based, val seed);
-void tweak_hash(val hash, hash_flags_t);
+void tweak_hash(val hash, hash_weak_opt_t);
val make_hash(val weak_keys, val weak_vals, val equal_based);
val make_eq_hash(val weak_keys, val weak_vals);
val make_similar_hash(val existing);