diff --git a/src/uthash.h b/src/uthash.h index 10c9b6b7..31db3fa8 100644 --- a/src/uthash.h +++ b/src/uthash.h @@ -265,6 +265,8 @@ do { HASH_FIND(hh,head,findint,sizeof(int64_t),out) #define HASH_ADD_I64(head,intfield,add) \ HASH_ADD(hh,head,intfield,sizeof(int64_t),add) +#define HASH_REPLACE_I64(head,intfield,add,replaced) \ + HASH_REPLACE(hh,head,intfield,sizeof(int64_t),add,replaced) #define HASH_FIND_PTR(head,findptr,out) \ HASH_FIND(hh,head,findptr,sizeof(void *),out) #define HASH_ADD_PTR(head,ptrfield,add) \