mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-29 16:01:38 +00:00
avoid objc_skip_offset()
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29814 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
117316de2f
commit
df6384cc18
4 changed files with 29 additions and 13 deletions
|
@ -804,13 +804,13 @@ gs_protocol_selector(const char *types)
|
|||
}
|
||||
while (*types != '\0')
|
||||
{
|
||||
if (*types == '-')
|
||||
if (*types == '+' || *types == '-')
|
||||
{
|
||||
types++;
|
||||
}
|
||||
if (*types == '+' || isdigit(*types))
|
||||
while(isdigit(*types))
|
||||
{
|
||||
types = objc_skip_offset(types);
|
||||
types++;
|
||||
}
|
||||
while (*types == _C_CONST || *types == _C_GCINVISIBLE)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue