diff options
Diffstat (limited to 'libobjc/encoding.c')
-rw-r--r-- | libobjc/encoding.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libobjc/encoding.c b/libobjc/encoding.c index 9bd261c..f1bbd6b 100644 --- a/libobjc/encoding.c +++ b/libobjc/encoding.c @@ -67,6 +67,11 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see #define UNION_TYPE _C_UNION_B #define QUAL_UNION_TYPE _C_UNION_B #define ARRAY_TYPE _C_ARY_B +#define RECORD_OR_UNION_TYPE_P(TYPE) \ + ((TREE_CODE (TYPE) == RECORD_TYPE) \ + || (TREE_CODE (TYPE) == UNION_TYPE) \ + || (TREE_CODE (TYPE) == QUAL_UNION_TYPE)) +#define VECTOR_TYPE_P(TYPE) (TREE_CODE (TYPE) == VECTOR_TYPE) #define REAL_TYPE _C_DBL |