summaryrefslogtreecommitdiff
path: root/libobjc/objc
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1998-10-08 11:23:35 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1998-10-08 11:23:35 +0000
commit0dff7c8178a75a07d0b5ac417c2fa71d6ceec5d1 (patch)
treed437e8222e814c9714139a9f5b2ca597196bca13 /libobjc/objc
parentc62c8a78c04cf9a6449576e9ba60dda6879b3584 (diff)
downloadgcc-0dff7c8178a75a07d0b5ac417c2fa71d6ceec5d1.tar.gz
* encoding.c (objc_skip_type_qualifiers): Handle _C_BYREF.
(objc_get_type_qualifiers): Similarly. * objc/encoding.h (_C_BYREF): Define. (_F_BYREF): Define. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22917 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libobjc/objc')
-rw-r--r--libobjc/objc/encoding.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/libobjc/objc/encoding.h b/libobjc/objc/encoding.h
index cbbc8de7ef5..b4def4302b5 100644
--- a/libobjc/objc/encoding.h
+++ b/libobjc/objc/encoding.h
@@ -37,6 +37,7 @@ Boston, MA 02111-1307, USA. */
#define _C_INOUT 'N'
#define _C_OUT 'o'
#define _C_BYCOPY 'O'
+#define _C_BYREF 'R'
#define _C_ONEWAY 'V'
#define _C_GCINVISIBLE '!'
@@ -45,8 +46,9 @@ Boston, MA 02111-1307, USA. */
#define _F_OUT 0x02
#define _F_INOUT 0x03
#define _F_BYCOPY 0x04
-#define _F_ONEWAY 0x08
-#define _F_GCINVISIBLE 0x10
+#define _F_BYREF 0x08
+#define _F_ONEWAY 0x10
+#define _F_GCINVISIBLE 0x20
int objc_aligned_size (const char* type);
int objc_sizeof_type (const char* type);