added qse_getawknilval()

prefixed many public functions with QSE_EXPORT
This commit is contained in:
2012-12-01 13:13:13 +00:00
parent 7dd9e67cd8
commit 120992a242
64 changed files with 1138 additions and 841 deletions

View File

@ -4,8 +4,6 @@
#define DATA_PTR(oht,index) \
((void*)(((qse_byte_t*)(oht)->data) + ((index) * (oht)->scale)))
QSE_IMPLEMENT_COMMON_FUNCTIONS (oht)
static QSE_INLINE_ALWAYS qse_size_t default_hasher (
qse_oht_t* oht, const void* data)
{
@ -110,6 +108,16 @@ void qse_oht_fini (qse_oht_t* oht)
oht->size = 0;
}
qse_mmgr_t* qse_oht_getmmgr (qse_oht_t* oht)
{
return oht->mmgr;
}
void* qse_oht_getxtn (qse_oht_t* oht)
{
return QSE_XTN (oht);
}
qse_oht_hasher_t qse_oht_gethasher (qse_oht_t* oht)
{
return oht->hasher? oht->hasher: default_hasher;