X-Git-Url: https://git.rrq.au/?a=blobdiff_plain;f=vector%2Fintegeritem.h;h=7518b2626892a3953b980e5240cb0eb294270e8c;hb=14c22de9f38ec5304dd14a2625b6ac8fdfda52f4;hp=3dc85454c170b3977a91a1ca07547e36eb7caadd;hpb=6f54a8281e4e5d6bc05e6b4eadc3327d5e48614a;p=rrq%2Frrqmisc.git diff --git a/vector/integeritem.h b/vector/integeritem.h index 3dc8545..7518b26 100644 --- a/vector/integeritem.h +++ b/vector/integeritem.h @@ -9,33 +9,4 @@ */ extern itemkeyfun integeritem; -/** - * 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 integeritem_hashcode(itemkeyfun *this,void *key); - -/** - * This callback function determines whether an item has a - * given key or not. - */ -extern int integeritem_haskey(itemkeyfun *this,void *item,void *key); - -/** - * This callback function returns the key of an item by considering - * the arity and schema. - */ -extern void *integeritem_itemkey(itemkeyfun *this,void *item); - -/** - * This callback function handles a key obtained from the itemkey - * callback function to reclaim temporary allocation. - */ -extern void integeritem_releasekey(itemkeyfun *this,void *key); - #endif