comparison src/elhash.h @ 2515:de9952d2ed18

[xemacs-hg @ 2005-01-26 10:22:19 by ben] Hash table cleanups, part 1 of 2 emacs-marshals.c, hash.c, hash.h, ui-gtk.c: Clean up and generalize creation of string hash tables. ui-gtk.c, elhash.h, gccache-gtk.c, glyphs-gtk.c, lrecord.h, marker.c, objects-gtk.c, objects-msw.c, objects-tty.c, objects-x.c, objects.c, opaque.c, rangetab.c, specifier.c, specifier.h, xgccache.c: Use Hashcode rather than unsigned long.
author ben
date Wed, 26 Jan 2005 10:22:29 +0000
parents ab71ad6ff3dd
children 141c2920ea48
comparison
equal deleted inserted replaced
2514:b49d38bc659d 2515:de9952d2ed18
60 EXFUN (Fputhash, 3); 60 EXFUN (Fputhash, 3);
61 EXFUN (Fremhash, 2); 61 EXFUN (Fremhash, 2);
62 EXFUN (Fclrhash, 1); 62 EXFUN (Fclrhash, 1);
63 63
64 typedef int (*hash_table_test_function_t) (Lisp_Object obj1, Lisp_Object obj2); 64 typedef int (*hash_table_test_function_t) (Lisp_Object obj1, Lisp_Object obj2);
65 typedef unsigned long (*hash_table_hash_function_t) (Lisp_Object obj); 65 typedef Hashcode (*hash_table_hash_function_t) (Lisp_Object obj);
66 typedef int (*maphash_function_t) (Lisp_Object key, Lisp_Object value, 66 typedef int (*maphash_function_t) (Lisp_Object key, Lisp_Object value,
67 void* extra_arg); 67 void* extra_arg);
68 68
69 Lisp_Object make_standard_lisp_hash_table (enum hash_table_test test, 69 Lisp_Object make_standard_lisp_hash_table (enum hash_table_test test,
70 Elemcount size, 70 Elemcount size,