Changeset 7f1c620 in mainline for generic/include/adt/hash_table.h


Ignore:
Timestamp:
2006-07-04T17:17:56Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0ffa3ef5
Parents:
991779c5
Message:

Replace old u?? types with respective C99 variants (e.g. uint32_t, int64_t, uintptr_t etc.).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • generic/include/adt/hash_table.h

    r991779c5 r7f1c620  
    5656         * @return Index into hash table.
    5757         */
    58         index_t (* hash)(__native key[]);
     58        index_t (* hash)(unative_t key[]);
    5959       
    6060        /** Hash table item comparison function.
     
    6464         * @return true if the keys match, false otherwise.
    6565         */
    66         bool (*compare)(__native key[], count_t keys, link_t *item);
     66        bool (*compare)(unative_t key[], count_t keys, link_t *item);
    6767
    6868        /** Hash table item removal callback.
     
    7676
    7777extern 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, __native key[], link_t *item);
    79 extern link_t *hash_table_find(hash_table_t *h, __native key[]);
    80 extern void hash_table_remove(hash_table_t *h, __native key[], count_t keys);
     78extern void hash_table_insert(hash_table_t *h, unative_t key[], link_t *item);
     79extern link_t *hash_table_find(hash_table_t *h, unative_t key[]);
     80extern void hash_table_remove(hash_table_t *h, unative_t key[], count_t keys);
    8181
    8282#endif
Note: See TracChangeset for help on using the changeset viewer.