(shallowCopyAs:, emptyCopyAs:, copyAs:): Change arg type to (Class).

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@171 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Andrew McCallum 1995-03-23 03:35:01 +00:00
parent b54be3885e
commit 450d5226fd
3 changed files with 8 additions and 8 deletions

View file

@ -112,11 +112,11 @@
// COPYING // COPYING
- emptyCopy; - emptyCopy;
- emptyCopyAs: (id <Collecting>)aCollectionClass; - emptyCopyAs: (Class)aCollectionClass;
- shallowCopy; - shallowCopy;
- shallowCopyAs: (id <Collecting>)aCollectionClass; - shallowCopyAs: (Class)aCollectionClass;
- copy; - copy;
- copyAs: (id <Collecting>)aCollectionClass; - copyAs: (Class)aCollectionClass;
- species; - species;

View file

@ -218,7 +218,7 @@
// COPYING; // COPYING;
- shallowCopyAs: (id <Collecting>)aCollectionClass - shallowCopyAs: (Class)aCollectionClass
{ {
id (*putElementAtKeyImp)(id,SEL,elt,elt); id (*putElementAtKeyImp)(id,SEL,elt,elt);
id newColl; id newColl;
@ -229,7 +229,7 @@
content, key); content, key);
} }
if ([aCollectionClass conformsToProtocol:@protocol(KeyedCollecting)]) if ([(id)aCollectionClass conformsToProtocol:@protocol(KeyedCollecting)])
{ {
newColl = [self emptyCopyAs:aCollectionClass]; newColl = [self emptyCopyAs:aCollectionClass];
putElementAtKeyImp = (id(*)(id,SEL,elt,elt)) putElementAtKeyImp = (id(*)(id,SEL,elt,elt))

View file

@ -112,11 +112,11 @@
// COPYING // COPYING
- emptyCopy; - emptyCopy;
- emptyCopyAs: (id <Collecting>)aCollectionClass; - emptyCopyAs: (Class)aCollectionClass;
- shallowCopy; - shallowCopy;
- shallowCopyAs: (id <Collecting>)aCollectionClass; - shallowCopyAs: (Class)aCollectionClass;
- copy; - copy;
- copyAs: (id <Collecting>)aCollectionClass; - copyAs: (Class)aCollectionClass;
- species; - species;