-template<typename _Key, typename _Val, typename _KeyInt, int _Shift>
+/** Hashtable class. By default it is snapshotting, but you can pass
+ in your own allocation functions. */
+
+template<typename _Key, typename _Val, typename _KeyInt, int _Shift, void * (* _malloc)(size_t)=malloc, void * (* _calloc)(size_t, size_t)=calloc, void (*_free)(void *)=free>