Changeset 7f1c620 in mainline for generic/include/adt/hash_table.h
- Timestamp:
- 2006-07-04T17:17:56Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0ffa3ef5
- Parents:
- 991779c5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
generic/include/adt/hash_table.h
r991779c5 r7f1c620 56 56 * @return Index into hash table. 57 57 */ 58 index_t (* hash)( __nativekey[]);58 index_t (* hash)(unative_t key[]); 59 59 60 60 /** Hash table item comparison function. … … 64 64 * @return true if the keys match, false otherwise. 65 65 */ 66 bool (*compare)( __nativekey[], count_t keys, link_t *item);66 bool (*compare)(unative_t key[], count_t keys, link_t *item); 67 67 68 68 /** Hash table item removal callback. … … 76 76 77 77 extern void hash_table_create(hash_table_t *h, count_t m, count_t max_keys, hash_table_operations_t *op); 78 extern void hash_table_insert(hash_table_t *h, __nativekey[], link_t *item);79 extern link_t *hash_table_find(hash_table_t *h, __nativekey[]);80 extern void hash_table_remove(hash_table_t *h, __nativekey[], count_t keys);78 extern void hash_table_insert(hash_table_t *h, unative_t key[], link_t *item); 79 extern link_t *hash_table_find(hash_table_t *h, unative_t key[]); 80 extern void hash_table_remove(hash_table_t *h, unative_t key[], count_t keys); 81 81 82 82 #endif
Note:
See TracChangeset
for help on using the changeset viewer.