Differences From Artifact [de7b955371]:
- File
src/OFInvocation.m
— part of check-in
[2f4e0df8be]
at
2017-10-17 00:33:37
on branch trunk
— Do not use implicit method return types
Instead, explicitly declare them, as OF_ASSUME_NONNULL_{BEGIN,END} does
not apply to implicit return types. This means that after this commit,
all init methods have a nonnull return type, as they should have. (user: js, size: 2853) [annotate] [blame] [check-ins using]
To Artifact [2bd671288a]:
- File src/OFInvocation.m — part of check-in [a06354b42a] at 2017-10-22 15:05:39 on branch trunk — Make Apple GCC with -Wshadow happy (user: js, size: 2845) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
82 83 84 85 86 87 88 | [_arguments release]; [_returnValue release]; [super dealloc]; } - (void)setArgument: (const void *)buffer | | | | | | 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 | [_arguments release]; [_returnValue release]; [super dealloc]; } - (void)setArgument: (const void *)buffer atIndex: (size_t)idx { OFMutableData *data = [_arguments objectAtIndex: idx]; memcpy([data items], buffer, [data itemSize]); } - (void)getArgument: (void *)buffer atIndex: (size_t)idx { OFData *data = [_arguments objectAtIndex: idx]; memcpy(buffer, [data items], [data itemSize]); } - (void)setReturnValue: (const void *)buffer { memcpy([_returnValue items], buffer, [_returnValue itemSize]); |
︙ | ︙ |