Cthulhu
0.2.10
Cthulhu compiler collection
|
Type information. More...
Data Structures | |
struct | hash_info_t |
information for using a type in a hashset or hashmap More... | |
Typedefs | |
typedef ctu_hash_t(* | hash_fn_t) (const void *key) |
hash an object pointed to by key More... | |
typedef bool(* | equals_fn_t) (const void *lhs, const void *rhs) |
compare two objects pointed to by lhs and rhs More... | |
Variables | |
CT_STD_API const hash_info_t | kTypeInfoString |
type information for a c style string More... | |
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 to More... | |
CT_STD_API const hash_info_t | kTypeInfoText |
type information for a text_view_t More... | |
Type information.
typedef bool(* equals_fn_t) (const void *lhs, const void *rhs) |
compare two objects pointed to by lhs
and rhs
lhs | the left hand side of the comparison |
rhs | the right hand side of the comparison |
true | if lhs and rhs are equal |
false | otherwise |
Definition at line 35 of file typeinfo.h.
typedef ctu_hash_t(* hash_fn_t) (const void *key) |
hash an object pointed to by key
key | the object to hash |
key
Definition at line 26 of file typeinfo.h.
|
extern |
type information for a generic pointer this operates on the pointer itself and not the data it points to
Definition at line 41 of file typeinfo.c.
|
extern |
type information for a c style string
Definition at line 35 of file typeinfo.c.
|
extern |
type information for a text_view_t
Definition at line 47 of file typeinfo.c.