mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +00:00
Cleanup:
- (void)release; to - (oneway void)release; so everything implementing -release actually implements the one declared in the NSObject protocol. Start marking things that are unavailable in ARC mode as unavailable in ARC mode. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33660 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
12745b6fde
commit
b85364de7e
19 changed files with 33 additions and 25 deletions
|
@ -80,10 +80,10 @@ extern "C" {
|
|||
- (BOOL) respondsToSelector: (SEL)aSelector;
|
||||
/** See [NSObject-conformsToProtocol:] */
|
||||
- (BOOL) conformsToProtocol: (Protocol*)aProtocol;
|
||||
- (id) retain; /** See [NSObject-retain] */
|
||||
- (id) autorelease /** See [NSObject-autorelease] */;
|
||||
- (oneway void) release; /** See [NSObject-release] */
|
||||
- (NSUInteger) retainCount; /** See [NSObject-retainCount] */
|
||||
- (id) retain NS_AUTOMATED_REFCOUNT_UNAVAILABLE; /** See [NSObject-retain] */
|
||||
- (id) autorelease NS_AUTOMATED_REFCOUNT_UNAVAILABLE /** See [NSObject-autorelease] */;
|
||||
- (oneway void) release NS_AUTOMATED_REFCOUNT_UNAVAILABLE; /** See [NSObject-release] */
|
||||
- (NSUInteger) retainCount NS_AUTOMATED_REFCOUNT_UNAVAILABLE; /** See [NSObject-retainCount] */
|
||||
- (NSZone*) zone; /** See [NSObject-zone] */
|
||||
- (NSString*) description; /** See [NSObject-description] */
|
||||
@end
|
||||
|
@ -243,7 +243,6 @@ extern "C" {
|
|||
+ (Class) superclass;
|
||||
+ (NSInteger) version;
|
||||
|
||||
- (id) autorelease;
|
||||
- (id) awakeAfterUsingCoder: (NSCoder*)aDecoder;
|
||||
- (Class) class;
|
||||
- (Class) classForArchiver;
|
||||
|
@ -269,12 +268,9 @@ extern "C" {
|
|||
- (id) performSelector: (SEL)aSelector
|
||||
withObject: (id)object1
|
||||
withObject: (id)object2;
|
||||
- (oneway void) release;
|
||||
- (id) replacementObjectForArchiver: (NSArchiver*)anArchiver;
|
||||
- (id) replacementObjectForCoder: (NSCoder*)anEncoder;
|
||||
- (BOOL) respondsToSelector: (SEL)aSelector;
|
||||
- (id) retain;
|
||||
- (NSUInteger) retainCount;
|
||||
- (id) self;
|
||||
- (Class) superclass;
|
||||
- (NSZone*) zone;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue