4 #include <ctu_std_api.h>
35 typedef bool (*
equals_fn_t)(
const void *lhs,
const void *rhs);
CT_STD_API const hash_info_t kTypeInfoString
type information for a c style string
bool(* equals_fn_t)(const void *lhs, const void *rhs)
compare two objects pointed to by lhs and rhs
CT_STD_API const hash_info_t kTypeInfoPtr
type information for a generic pointer this operates on the pointer itself and not the data it points...
ctu_hash_t(* hash_fn_t)(const void *key)
hash an object pointed to by key
CT_STD_API const hash_info_t kTypeInfoText
type information for a text_view_t
information for using a type in a hashset or hashmap
hash_fn_t hash
the hash function for the type
equals_fn_t equals
the equality function for the type
STA_FIELD_RANGE(0, SIZE_MAX) size_t size
the size of the type