compound type specifiers can have __attribute__, too. Parse it (and ignore it for...
[cparser] / type.h
diff --git a/type.h b/type.h
index 23f3d2c..0e6521e 100644 (file)
--- 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