diff options
Diffstat (limited to 'include/hash.h')
-rw-r--r-- | include/hash.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/include/hash.h b/include/hash.h index 49a75d98dcb..a4afe03fb59 100644 --- a/include/hash.h +++ b/include/hash.h @@ -44,10 +44,11 @@ typedef struct st_hash { CHARSET_INFO *charset; } HASH; -my_bool hash_init(HASH *hash,CHARSET_INFO *charset, - uint default_array_elements, uint key_offset, - uint key_length, hash_get_key get_key, - void (*free_element)(void*), uint flags); +#define hash_init(A,B,C,D,E,F,G) _hash_init(A,B,C,D,E,F,G, H CALLER_INFO) +my_bool _hash_init(HASH *hash, CHARSET_INFO *charset, + uint default_array_elements, uint key_offset, + uint key_length, hash_get_key get_key, + void (*free_element)(void*), uint flags CALLER_INFO_PROTO); void hash_free(HASH *tree); byte *hash_element(HASH *hash,uint idx); gptr hash_search(HASH *info,const byte *key,uint length); |