X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=type.h;h=0e6521ee8af8eaf4069b931b9da428a5f5fa9ad5;hb=b20f0c9f924b34a581ef0d4f9a09018ba3afec46;hp=23f3d2c3361025ef76fb94155154cad76375db48;hpb=087130404a59dcdd95aa0d7ac7feec2793e9ce87;p=cparser diff --git a/type.h b/type.h index 23f3d2c..0e6521e 100644 --- a/type.h +++ b/type.h @@ -41,12 +41,16 @@ void inc_type_visited(void); void set_print_compound_entries(bool enabled); - /** * returns true if type contains integer numbers */ bool is_type_integer(const type_t *type); +/** + * return true if type contains signed numbers + */ +bool is_type_signed(const type_t *type); + /** * returns true if type contains floating point numbers */ @@ -68,4 +72,12 @@ bool is_type_arithmetic(const type_t *type); */ bool is_type_scalar(const type_t *type); +bool is_type_incomplete(const type_t *type); + +bool types_compatible(const type_t *type1, const type_t *type2); + +bool pointers_compatible(const type_t *type1, const type_t *type2); + +type_t *skip_typeref(type_t *type); + #endif