mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
NSKVOSwizzling: Do not mix decl and code
This commit is contained in:
parent
12b4b28598
commit
55599c8913
1 changed files with 1 additions and 1 deletions
|
@ -420,9 +420,9 @@ NSKVO$removeObjectForKey$(id self, SEL _cmd, NSString *key)
|
|||
{ \
|
||||
struct objc_super super = {self, ABI_SUPER(self)}; \
|
||||
NSString *key = _keyForSelector(self, _cmd); \
|
||||
[self willChangeValueForKey:key]; \
|
||||
void (*imp)(id, SEL, type) \
|
||||
= (void (*)(id, SEL, type)) objc_msg_lookup_super(&super, _cmd); \
|
||||
[self willChangeValueForKey:key]; \
|
||||
imp(self, _cmd, val); \
|
||||
[self didChangeValueForKey:key]; \
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue