X-Git-Url: https://git.rrq.au/?a=blobdiff_plain;f=vector%2Fstringitem.h;h=cf1d0f714d99cc5b32ed8371906f9befb5a56087;hb=14c22de9f38ec5304dd14a2625b6ac8fdfda52f4;hp=0923bcd736addd2bcdafe9ad9b6badc07a89f7e0;hpb=d9a0011032a13d1477db102be3c1305af3223e72;p=rrq%2Frrqmisc.git diff --git a/vector/stringitem.h b/vector/stringitem.h index 0923bcd..cf1d0f7 100644 --- a/vector/stringitem.h +++ b/vector/stringitem.h @@ -9,34 +9,4 @@ */ extern itemkeyfun stringitem; -/** - * This callback function returns the hashcode of a key. The hashcode - * is used for indexing into the backing vector for finding the an - * item via its key. The same key must map consistently to the same - * hashcode while the hashtable contains an item with that key. - * Different keys map map to the same hashcode, in which case the - * vector placement is made at the first empty or hole slot following - * the hashcode index. - */ -extern unsigned long stringitem_hashcode(itemkeyfun *this,void *key); - -/** - * This callback function determines whether an item has a - * given key or not. - */ -extern int stringitem_haskey(itemkeyfun *this,void *item,void *key); - -/** - * This callback function returns the key of an item by considering - * the arity and schema. - */ -extern void *stringitem_itemkey(itemkeyfun *this,void *item); - -/** - * This callback function handles a key obtained from the itemkey - * callback function to reclaim temporary allocation. - */ -extern void stringitem_releasekey(itemkeyfun *this,void *key); - - #endif