X-Git-Url: https://git.rrq.au/?a=blobdiff_plain;f=vector%2FHashVector.h;h=b9316d688aedc1d42b9d3d099313c14f9a2ebd9e;hb=3d4400773c3361961bcb9f8b6898321f2005a093;hp=387f7ce53cbe3782fee880af84e5f6c0af71a238;hpb=58de9483c458a25a691d648ce13b81227c327d03;p=rrq%2Frrqmisc.git diff --git a/vector/HashVector.h b/vector/HashVector.h index 387f7ce..b9316d6 100644 --- a/vector/HashVector.h +++ b/vector/HashVector.h @@ -35,7 +35,7 @@ * * \extends Vector */ -typedef struct { +typedef struct HashVector { /** * This is the backing \ref Vector for the HashVector. Items are * placed in the Vector by means of their key hashcodes, at the @@ -86,24 +86,18 @@ typedef struct { void *HashVector_find(HashVector *hv,void *key); /** - * \brief Scan the table for any subsequent item that admits to the - * given partial key. + * \brief Scan the table by index * * \param hv is the \ref HashVector concerned. * * \param index is a pointer to the index to advance. - * \ - * \param key is the query key * * \returns the next matching item, or \b 0 if none, with the index * updated. * - * This function is used where the query key doesn't fully identify an - * item, and is thus a partial key that - * * \related HashVector */ -extern void *HashVector_next(HashVector *hv,VectorIndex *i,void *key); +extern void *HashVector_next(HashVector *hv,VectorIndex *i); /** * \brief Add the given item into the \ref HashVector, growing it as