Byref patches from Frith-MacDonald

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2777 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
fedor 1998-03-23 20:49:54 +00:00
parent ca80ddb665
commit 877463ffe0
17 changed files with 218 additions and 30 deletions

View file

@ -302,6 +302,9 @@ objc_skip_type_qualifiers (const char* type)
|| *type == _C_INOUT
|| *type == _C_OUT
|| *type == _C_BYCOPY
#ifdef _C_BYREF
|| *type == _C_BYREF
#endif
|| *type == _C_ONEWAY)
{
type += 1;
@ -424,6 +427,9 @@ 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;
#ifdef _C_BYREF
case _C_BYREF: res |= _F_BYREF; break;
#endif
case _C_ONEWAY: res |= _F_ONEWAY; break;
default: flag = NO;
}