([Storage -initCount:elementSize:description:]): In accordance with

Objective C runtime change, use objc_malloc as a function, not a
function pointer.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1721 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
mccallum 1996-09-07 20:01:38 +00:00
parent 610b68f9df
commit 06dc514aa1

View file

@ -73,7 +73,7 @@ typedef struct {
maxElements = (numSlots > 0) ? numSlots : 1;
elementSize = sizeInBytes;
description = elemDesc;
dataPtr = (void*) (*objc_malloc)(maxElements * elementSize);
dataPtr = (void*) objc_malloc (maxElements * elementSize);
bzero(dataPtr, numElements * elementSize);
return self;
}