summaryrefslogtreecommitdiff
path: root/libobjc/encoding.c
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1998-09-21 22:28:51 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1998-09-21 22:28:51 +0000
commit2263844a9dbe8fd1990e158c400f24d74c0c12be (patch)
treeb74eed3d7331b7280943a2631d1cf8c7b5729b76 /libobjc/encoding.c
parentd1203fff199b029d0428bae4c7c41fab4117f823 (diff)
downloadgcc-2263844a9dbe8fd1990e158c400f24d74c0c12be.tar.gz
* encoding.c (TREE_TYPE, ARRAY_TYPE): Define.
(get_inner_array_type): Define. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22536 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libobjc/encoding.c')
-rw-r--r--libobjc/encoding.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libobjc/encoding.c b/libobjc/encoding.c
index ab47e9c4bf4..94c5ab8da51 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