X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=type.h;h=2bf5940bbd3caae9be40f1da2555045377a6e143;hb=4d58018b7aec14df0a55975e959db73005fb648f;hp=23f3d2c3361025ef76fb94155154cad76375db48;hpb=087130404a59dcdd95aa0d7ac7feec2793e9ce87;p=cparser diff --git a/type.h b/type.h index 23f3d2c..2bf5940 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,8 @@ bool is_type_arithmetic(const type_t *type); */ bool is_type_scalar(const type_t *type); +bool pointers_compatible(const type_t *type1, const type_t *type2); + +type_t *skip_typeref(type_t *type); + #endif