X-Git-Url: https://git.rrq.au/?a=blobdiff_plain;f=vector%2Fitemkeyfun.h;h=1089a163fbb3876f5cbd3945c0c9a07abd418d1c;hb=47f0e2bd1cc8942f5c92ffa2f37db416d98d9e9e;hp=ee71ca5d9eae255ae218bda731fc27906eaa4202;hpb=e7cfb732dbf345432b0832c32b99b17a1741b206;p=rrq%2Frrqmisc.git diff --git a/vector/itemkeyfun.h b/vector/itemkeyfun.h index ee71ca5..1089a16 100644 --- a/vector/itemkeyfun.h +++ b/vector/itemkeyfun.h @@ -13,9 +13,9 @@ * items that have that key. Different keys may yield the same * hashcode. */ -typedef struct _itemkeyfun { +typedef struct { -#define SELF struct _itemkeyfun *this +#define SELF void *this /** * This callback function should return the hashcode of a key. The * hashcode is used for indexing into the backing vector for