16 lines
544 B
C
16 lines
544 B
C
#ifndef SDB_HT_PP_H
|
|
#define SDB_HT_PP_H
|
|
|
|
/*
|
|
* This header provides an hashtable HtPP that has void* as key and void* as
|
|
* value. The API functions starts with "ht_pp_" and the types starts with "HtPP".
|
|
*/
|
|
#define HT_TYPE 1
|
|
#include "ht_inc.h"
|
|
|
|
SDB_API HtName_(Ht)* Ht_(new0)(void);
|
|
SDB_API HtName_(Ht)* Ht_(new)(HT_(DupValue) valdup, HT_(KvFreeFunc) pair_free, HT_(CalcSizeV) valueSize);
|
|
SDB_API HtName_(Ht)* Ht_(new_size)(ut32 initial_size, HT_(DupValue) valdup, HT_(KvFreeFunc) pair_free, HT_(CalcSizeV) valueSize);
|
|
#undef HT_TYPE
|
|
|
|
#endif
|