exip  Alpha 0.5.4
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
dynamicArray.h
Go to the documentation of this file.
1 /*==================================================================*\
2 | EXIP - Embeddable EXI Processor in C |
3 |--------------------------------------------------------------------|
4 | This work is licensed under BSD 3-Clause License |
5 | The full license terms and conditions are located in LICENSE.txt |
6 \===================================================================*/
7 
19 #ifndef DYNAMICARRAY_H_
20 #define DYNAMICARRAY_H_
21 
22 #include "procTypes.h"
23 
35 #define DYN_ARRAY_SIZE (sizeof(DynArray) + sizeof(void*) + sizeof(Index))
36 
40 #define DEFAULT_NUMBER_CHUNK_ENTRIES 5
41 
51 errorCode createDynArray(DynArray* dynArray, size_t entrySize, uint16_t chunkSize);
52 
63 
74 
84 
91 
92 #endif /* DYNAMICARRAY_H_ */