Macro in stdx_hashtable.h

X_HASHTABLE_TYPE_NAMED

#define X_HASHTABLE_TYPE_NAMED(tk, tv, suffix) \
typedef XHashtable XHashtable_##suffix;\
static inline XHashtable_##suffix *x_hashtable_##suffix##_create(void)\
{\
return(XHashtable_##suffix *)x_hashtable_create_ex(sizeof(tk), false, false, sizeof(tv), false, false);\
}\
static inline bool x_hashtable_##suffix##_set(XHashtable_##suffix *table, tk key, tv value)\
{\
return x_hashtable_set((XHashtable *)table,&key,&value);\
}\
static inline bool x_hashtable_##suffix##_get(XHashtable_##suffix *table, tk key, tv *out_value)\
{\
return x_hashtable_get((XHashtable *)table,&key, out_value);\
}\
static inline bool x_hashtable_##suffix##_has(XHashtable_##suffix *table, tk key)\
{\
return x_hashtable_has((XHashtable *)table,&key);\
}\
static inline bool x_hashtable_##suffix##_remove(XHashtable_##suffix *table, tk key)\
{\
return x_hashtable_remove((XHashtable *)table,&key);\
}\
static inline void x_hashtable_##suffix##_destroy(XHashtable_##suffix *table)\
{\
x_hashtable_destroy((XHashtable *)table);\
}\
static inline size_t x_hashtable_##suffix##_count(const XHashtable_##suffix *table)\
{\
return x_hashtable_count((const XHashtable *)table);\
}