mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
([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:
parent
610b68f9df
commit
06dc514aa1
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue