comparison src/elhash.h @ 647:b39c14581166

[xemacs-hg @ 2001-08-13 04:45:47 by ben] removal of unsigned, size_t, etc.
author ben
date Mon, 13 Aug 2001 04:46:48 +0000
parents af57a77cbc92
children fdefd0186b75
comparison
equal deleted inserted replaced
646:00c54252fe4f 647:b39c14581166
60 EXFUN (Fgethash, 3); 60 EXFUN (Fgethash, 3);
61 EXFUN (Fputhash, 3); 61 EXFUN (Fputhash, 3);
62 EXFUN (Fremhash, 2); 62 EXFUN (Fremhash, 2);
63 EXFUN (Fclrhash, 1); 63 EXFUN (Fclrhash, 1);
64 64
65 typedef unsigned long hashcode_t;
66 typedef int (*hash_table_test_function_t) (Lisp_Object obj1, Lisp_Object obj2); 65 typedef int (*hash_table_test_function_t) (Lisp_Object obj1, Lisp_Object obj2);
67 typedef unsigned long (*hash_table_hash_function_t) (Lisp_Object obj); 66 typedef unsigned long (*hash_table_hash_function_t) (Lisp_Object obj);
68 typedef int (*maphash_function_t) (Lisp_Object key, Lisp_Object value, 67 typedef int (*maphash_function_t) (Lisp_Object key, Lisp_Object value,
69 void* extra_arg); 68 void* extra_arg);
70 69
71 Lisp_Object make_standard_lisp_hash_table (enum hash_table_test test, 70 Lisp_Object make_standard_lisp_hash_table (enum hash_table_test test,
72 size_t size, 71 Element_Count size,
73 double rehash_size, 72 double rehash_size,
74 double rehash_threshold, 73 double rehash_threshold,
75 enum hash_table_weakness weakness); 74 enum hash_table_weakness weakness);
76 75
77 Lisp_Object make_general_lisp_hash_table (hash_table_hash_function_t hash_function, 76 Lisp_Object make_general_lisp_hash_table (hash_table_hash_function_t hash_function,
78 hash_table_test_function_t test_function, 77 hash_table_test_function_t test_function,
79 size_t size, 78 Element_Count size,
80 double rehash_size, 79 double rehash_size,
81 double rehash_threshold, 80 double rehash_threshold,
82 enum hash_table_weakness weakness); 81 enum hash_table_weakness weakness);
83 82
84 Lisp_Object make_lisp_hash_table (size_t size, 83 Lisp_Object make_lisp_hash_table (Element_Count size,
85 enum hash_table_weakness weakness, 84 enum hash_table_weakness weakness,
86 enum hash_table_test test); 85 enum hash_table_test test);
87 86
88 void elisp_maphash (maphash_function_t function, 87 void elisp_maphash (maphash_function_t function,
89 Lisp_Object hash_table, void *extra_arg); 88 Lisp_Object hash_table, void *extra_arg);