mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +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
ffb34b2f80
commit
e3f26e6e85
2 changed files with 12 additions and 20 deletions
|
@ -44,9 +44,9 @@
|
||||||
- init;
|
- init;
|
||||||
- initWithContentsOf: (id <Collecting>)aCollection;
|
- initWithContentsOf: (id <Collecting>)aCollection;
|
||||||
|
|
||||||
// FREEING;
|
// RELEASING;
|
||||||
- free;
|
- (oneway void) release;
|
||||||
- freeObjects;
|
- releaseObjects;
|
||||||
|
|
||||||
// ADDING;
|
// ADDING;
|
||||||
- addObject: newObject;
|
- addObject: newObject;
|
||||||
|
@ -123,10 +123,6 @@
|
||||||
- copyAs: (id <Collecting>)aCollectionClass;
|
- copyAs: (id <Collecting>)aCollectionClass;
|
||||||
- species;
|
- species;
|
||||||
|
|
||||||
// ARCHIVING;
|
|
||||||
- write: (TypedStream*)aStream;
|
|
||||||
- read: (TypedStream*)aStream;
|
|
||||||
|
|
||||||
|
|
||||||
// NON-OBJECT ELEMENT METHOD NAMES;
|
// NON-OBJECT ELEMENT METHOD NAMES;
|
||||||
|
|
||||||
|
@ -185,10 +181,10 @@
|
||||||
call: (void(*)(elt))destFunc;
|
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;
|
+ alloc;
|
||||||
- (BOOL) respondsTo: (SEL)aSel;
|
- (BOOL) respondsToSelector: (SEL)aSel;
|
||||||
- (BOOL) conformsTo: aProtocolObject;
|
- (BOOL) conformsToProtocol: aProtocolObject;
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
||||||
|
|
|
@ -44,9 +44,9 @@
|
||||||
- init;
|
- init;
|
||||||
- initWithContentsOf: (id <Collecting>)aCollection;
|
- initWithContentsOf: (id <Collecting>)aCollection;
|
||||||
|
|
||||||
// FREEING;
|
// RELEASING;
|
||||||
- free;
|
- (oneway void) release;
|
||||||
- freeObjects;
|
- releaseObjects;
|
||||||
|
|
||||||
// ADDING;
|
// ADDING;
|
||||||
- addObject: newObject;
|
- addObject: newObject;
|
||||||
|
@ -123,10 +123,6 @@
|
||||||
- copyAs: (id <Collecting>)aCollectionClass;
|
- copyAs: (id <Collecting>)aCollectionClass;
|
||||||
- species;
|
- species;
|
||||||
|
|
||||||
// ARCHIVING;
|
|
||||||
- write: (TypedStream*)aStream;
|
|
||||||
- read: (TypedStream*)aStream;
|
|
||||||
|
|
||||||
|
|
||||||
// NON-OBJECT ELEMENT METHOD NAMES;
|
// NON-OBJECT ELEMENT METHOD NAMES;
|
||||||
|
|
||||||
|
@ -185,10 +181,10 @@
|
||||||
call: (void(*)(elt))destFunc;
|
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;
|
+ alloc;
|
||||||
- (BOOL) respondsTo: (SEL)aSel;
|
- (BOOL) respondsToSelector: (SEL)aSel;
|
||||||
- (BOOL) conformsTo: aProtocolObject;
|
- (BOOL) conformsToProtocol: aProtocolObject;
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue