encoding.c (objc_skip_type_qualifiers): Handle _C_BYREF.
* encoding.c (objc_skip_type_qualifiers): Handle _C_BYREF.
(objc_get_type_qualifiers): Similarly.
* objc/encoding.h (_C_BYREF): Define.
(_F_BYREF): Define.
From-SVN: r22917
This commit is contained in:
committed by
Jeff Law
parent
946dc1c8ad
commit
1df287f8fb
@@ -402,6 +402,7 @@ objc_skip_type_qualifiers (const char* type)
|
||||
|| *type == _C_INOUT
|
||||
|| *type == _C_OUT
|
||||
|| *type == _C_BYCOPY
|
||||
|| *type == _C_BYREF
|
||||
|| *type == _C_ONEWAY
|
||||
|| *type == _C_GCINVISIBLE)
|
||||
{
|
||||
@@ -661,6 +662,7 @@ objc_get_type_qualifiers (const char* type)
|
||||
case _C_INOUT: res |= _F_INOUT; break;
|
||||
case _C_OUT: res |= _F_OUT; break;
|
||||
case _C_BYCOPY: res |= _F_BYCOPY; break;
|
||||
case _C_BYREF: res |= _F_BYREF; break;
|
||||
case _C_ONEWAY: res |= _F_ONEWAY; break;
|
||||
case _C_GCINVISIBLE: res |= _F_GCINVISIBLE; break;
|
||||
default: flag = NO;
|
||||
|
||||
Reference in New Issue
Block a user