diff options
author | dje <dje@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-03-19 21:05:03 +0000 |
---|---|---|
committer | dje <dje@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-03-19 21:05:03 +0000 |
commit | 5c1ebe4d731f8ee590e60d8f40d6f86ea2da464f (patch) | |
tree | 67a26798eb5412e9916ea78336e804859511e2c6 /libobjc | |
parent | 0444c39a9706170678d6f2a72ecd61d62dc98439 (diff) | |
download | gcc-5c1ebe4d731f8ee590e60d8f40d6f86ea2da464f.tar.gz |
* encoding.c (TYPE_MODE): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40633 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libobjc')
-rw-r--r-- | libobjc/ChangeLog | 4 | ||||
-rw-r--r-- | libobjc/encoding.c | 7 |
2 files changed, 8 insertions, 3 deletions
diff --git a/libobjc/ChangeLog b/libobjc/ChangeLog index c53b3a5b913..30f0ab0e446 100644 --- a/libobjc/ChangeLog +++ b/libobjc/ChangeLog @@ -1,3 +1,7 @@ +2001-03-19 David Edelsohn <edelsohn@gnu.org> + + * encoding.c (TYPE_MODE): Define. + 2001-03-14 Nicola Pero <n.pero@mi.flashnet.it> * thr.c (objc_thread_add): New function. diff --git a/libobjc/encoding.c b/libobjc/encoding.c index bbbb81cdb8b..a87f981e8eb 100644 --- a/libobjc/encoding.c +++ b/libobjc/encoding.c @@ -46,8 +46,8 @@ Boston, MA 02111-1307, USA. */ /* Various hacks for objc_layout_record. These are used by the target macros. */ -#define TREE_CODE(TYPE) *TYPE -#define TREE_TYPE(TREE) TREE +#define TREE_CODE(TYPE) *(TYPE) +#define TREE_TYPE(TREE) (TREE) #define RECORD_TYPE _C_STRUCT_B #define UNION_TYPE _C_UNION_B @@ -56,7 +56,8 @@ Boston, MA 02111-1307, USA. */ #define TYPE_FIELDS(TYPE) objc_skip_typespec (TYPE) -#define DECL_MODE(TYPE) *(TYPE) +#define DECL_MODE(TYPE) *(TYPE) +#define TYPE_MODE(TYPE) *(TYPE) #define DFmode _C_DBL |