/* Degree of type compatibility. Must be in ascending order */
typedef enum {
TC_INCOMPATIBLE, /* Distinct types */
- TC_QUAL_DIFF, /* Types differ in qualifier of pointer */
TC_SIGN_DIFF, /* Signedness differs */
TC_COMPATIBLE = TC_SIGN_DIFF, /* Compatible types */
- TC_STRICT_COMPATIBLE, /* Struct compatibility */
+ TC_QUAL_DIFF, /* Types differ in qualifier of pointer */
+ TC_STRICT_COMPATIBLE, /* Strict compatibility */
TC_EQUAL, /* Types are equal */
TC_IDENTICAL /* Types are identical */
} typecmp_t;
-typecmp_t TypeCmp (const type* lhs, const type* rhs);
+typecmp_t TypeCmp (const Type* lhs, const Type* rhs);
/* Compare two types and return the result */