diff --git a/src/include/lib/simplehash.h b/src/include/lib/simplehash.h index ff50633..6e85de8 100644 --- a/src/include/lib/simplehash.h +++ b/src/include/lib/simplehash.h @@ -280,6 +280,10 @@ SH_ENTRY_HASH(SH_TYPE *tb, SH_ELEMENT_TYPE * entry) #endif } +/* default memory allocator function */ +static inline void *SH_ALLOCATE(SH_TYPE *type, Size size); +static inline void SH_FREE(SH_TYPE *type, void *pointer); + #ifndef SH_USE_NONDEFAULT_ALLOCATOR /* default memory allocator function */