mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
Use release' and
dealloc' instead of `free'.
(write:, read:): Removed. (respondsToSelector:, conformsToProtocol:) Renamed from old Object method names to NSObject method names. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@96 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
be7d06aa52
commit
038333aac0
2 changed files with 12 additions and 20 deletions
|
@ -44,9 +44,9 @@
|
|||
- init;
|
||||
- initWithContentsOf: (id <Collecting>)aCollection;
|
||||
|
||||
// FREEING;
|
||||
- free;
|
||||
- freeObjects;
|
||||
// RELEASING;
|
||||
- (oneway void) release;
|
||||
- releaseObjects;
|
||||
|
||||
// ADDING;
|
||||
- addObject: newObject;
|
||||
|
@ -123,10 +123,6 @@
|
|||
- copyAs: (id <Collecting>)aCollectionClass;
|
||||
- species;
|
||||
|
||||
// ARCHIVING;
|
||||
- write: (TypedStream*)aStream;
|
||||
- read: (TypedStream*)aStream;
|
||||
|
||||
|
||||
// NON-OBJECT ELEMENT METHOD NAMES;
|
||||
|
||||
|
@ -185,10 +181,10 @@
|
|||
call: (void(*)(elt))destFunc;
|
||||
|
||||
|
||||
// BE SURE WE HAVE THESE METHODS NORMALLY PROVIDED BY Object;
|
||||
// BE SURE WE HAVE THESE METHODS NORMALLY PROVIDED BY NSObject;
|
||||
+ alloc;
|
||||
- (BOOL) respondsTo: (SEL)aSel;
|
||||
- (BOOL) conformsTo: aProtocolObject;
|
||||
- (BOOL) respondsToSelector: (SEL)aSel;
|
||||
- (BOOL) conformsToProtocol: aProtocolObject;
|
||||
|
||||
@end
|
||||
|
||||
|
|
|
@ -44,9 +44,9 @@
|
|||
- init;
|
||||
- initWithContentsOf: (id <Collecting>)aCollection;
|
||||
|
||||
// FREEING;
|
||||
- free;
|
||||
- freeObjects;
|
||||
// RELEASING;
|
||||
- (oneway void) release;
|
||||
- releaseObjects;
|
||||
|
||||
// ADDING;
|
||||
- addObject: newObject;
|
||||
|
@ -123,10 +123,6 @@
|
|||
- copyAs: (id <Collecting>)aCollectionClass;
|
||||
- species;
|
||||
|
||||
// ARCHIVING;
|
||||
- write: (TypedStream*)aStream;
|
||||
- read: (TypedStream*)aStream;
|
||||
|
||||
|
||||
// NON-OBJECT ELEMENT METHOD NAMES;
|
||||
|
||||
|
@ -185,10 +181,10 @@
|
|||
call: (void(*)(elt))destFunc;
|
||||
|
||||
|
||||
// BE SURE WE HAVE THESE METHODS NORMALLY PROVIDED BY Object;
|
||||
// BE SURE WE HAVE THESE METHODS NORMALLY PROVIDED BY NSObject;
|
||||
+ alloc;
|
||||
- (BOOL) respondsTo: (SEL)aSel;
|
||||
- (BOOL) conformsTo: aProtocolObject;
|
||||
- (BOOL) respondsToSelector: (SEL)aSel;
|
||||
- (BOOL) conformsToProtocol: aProtocolObject;
|
||||
|
||||
@end
|
||||
|
||||
|
|
Loading…
Reference in a new issue