| 177 | /*! Chunks are stored as a singly linked list. |
| 178 | */ |
| 179 | struct ChunkHeader { |
| 180 | size_t capacity; //!< Capacity of the chunk in bytes (excluding the header |
| 181 | //!< itself). |
| 182 | size_t size; //!< Current size of allocated memory in bytes. |
| 183 | ChunkHeader* next; //!< Next chunk in the linked list. |
| 184 | }; |
| 185 | |
| 186 | struct SharedData { |
| 187 | ChunkHeader* chunkHead; //!< Head of the chunk linked-list. Only the head |
nothing calls this directly
no outgoing calls
no test coverage detected