(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:
mccallum 1995-03-23 03:35:01 +00:00
parent 561df64eac
commit 339160af5a
3 changed files with 8 additions and 8 deletions

View file

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

View file

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

View file

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