From 2e5f02a3e3dec96ffb859268e2d554875f225d70 Mon Sep 17 00:00:00 2001 From: Ovidiu Predescu Date: Mon, 21 Sep 1998 22:28:51 +0000 Subject: encoding.c (TREE_TYPE, ARRAY_TYPE): Define. * encoding.c (TREE_TYPE, ARRAY_TYPE): Define. (get_inner_array_type): Define. From-SVN: r22536 --- libobjc/ChangeLog | 5 +++++ libobjc/encoding.c | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/libobjc/ChangeLog b/libobjc/ChangeLog index 28d7554..dc48834 100644 --- a/libobjc/ChangeLog +++ b/libobjc/ChangeLog @@ -1,3 +1,8 @@ +Mon Sep 21 23:27:10 1998 Ovidiu Predescu + + * encoding.c (TREE_TYPE, ARRAY_TYPE): Define. + (get_inner_array_type): Define. + 1998-09-21 Ben Elliston * New directory. Moved files from ../gcc/objc. diff --git a/libobjc/encoding.c b/libobjc/encoding.c index ab47e9c..94c5ab8 100644 --- a/libobjc/encoding.c +++ b/libobjc/encoding.c @@ -47,9 +47,12 @@ Boston, MA 02111-1307, USA. */ macros. */ #define TREE_CODE(TYPE) *TYPE +#define TREE_TYPE(TREE) TREE + #define RECORD_TYPE _C_STRUCT_B #define UNION_TYPE _C_UNION_B #define QUAL_UNION_TYPE _C_UNION_B +#define ARRAY_TYPE _C_ARY_B #define TYPE_FIELDS(TYPE) objc_skip_typespec (TYPE) @@ -57,6 +60,7 @@ Boston, MA 02111-1307, USA. */ #define DFmode _C_DBL +#define get_inner_array_type(TYPE) objc_skip_typespec(TYPE) static inline int -- cgit v1.1