Go to the source code of this file.
#define Array_Create |
( |
|
pArray, |
|
|
|
type, |
|
|
|
ItemCountMax |
|
) |
| Array_Create_(pArray, sizeof(type), ItemCountMax) |
int Array_Create_ |
( |
PDYNAMIC_ARRAY |
pArray, |
|
|
size_t |
ItemSize, |
|
|
size_t |
ItemCountMax |
|
) |
| |
#define CASC_ALLOC(type, count)
Definition: CascCommon.h:302
size_t ItemSize
Definition: DynamicArray.h:22
#define ERROR_NOT_ENOUGH_MEMORY
Definition: CascPort.h:208
arena_t NULL
Definition: jemalloc_internal.h:624
char * ItemArray
Definition: DynamicArray.h:19
size_t ItemCountMax
Definition: DynamicArray.h:20
#define ERROR_SUCCESS
Definition: CascPort.h:204
size_t ItemCount
Definition: DynamicArray.h:21
arena_t NULL
Definition: jemalloc_internal.h:624
#define CASC_FREE(ptr)
Definition: CascCommon.h:303
char * ItemArray
Definition: DynamicArray.h:19
89 char * ArrayItem = (
char *)ArrayPtr;
size_t ItemSize
Definition: DynamicArray.h:22
char * ItemArray
Definition: DynamicArray.h:19
size_t ItemCount
Definition: DynamicArray.h:21
74 memcpy(NewItemPtr, NewItems, (NewItemCount * pArray->
ItemSize));
size_t ItemSize
Definition: DynamicArray.h:22
static bool EnlargeArray(PDYNAMIC_ARRAY pArray, size_t NewItemCount)
Definition: DynamicArray.cpp:18
arena_t NULL
Definition: jemalloc_internal.h:624
char * ItemArray
Definition: DynamicArray.h:19
size_t ItemCount
Definition: DynamicArray.h:21
83 assert(ItemIndex < pArray->ItemCount);
size_t ItemSize
Definition: DynamicArray.h:22
char * ItemArray
Definition: DynamicArray.h:19