Skip to content

Commit

Permalink
MulticastDelegate support the type of SEL
Browse files Browse the repository at this point in the history
  • Loading branch information
iMAC_HYH committed Sep 11, 2017
1 parent 75728a4 commit d2f4cf8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Utilities/GCDMulticastDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -396,6 +396,12 @@ - (NSInvocation *)duplicateInvocation:(NSInvocation *)origInvocation
[origInvocation getArgument:&value atIndex:i];
[dupInvocation setArgument:&value atIndex:i];
}
else if (*type == ':')
{
void *value;
[origInvocation getArgument:&value atIndex:i];
[dupInvocation setArgument:&value atIndex:i];
}
else if (*type == '^')
{
void *block;
Expand Down

0 comments on commit d2f4cf8

Please sign in to comment.