| 184 | }; |
| 185 | |
| 186 | struct SharedData { |
| 187 | ChunkHeader* chunkHead; //!< Head of the chunk linked-list. Only the head |
| 188 | //!< chunk serves allocation. |
| 189 | BaseAllocator* |
| 190 | ownBaseAllocator; //!< base allocator created by this object. |
| 191 | size_t refcount; |
| 192 | bool ownBuffer; |
| 193 | }; |
| 194 | |
| 195 | static const size_t SIZEOF_SHARED_DATA = SONIC_ALIGN(sizeof(SharedData)); |
| 196 | static const size_t SIZEOF_CHUNK_HEADER = SONIC_ALIGN(sizeof(ChunkHeader)); |
nothing calls this directly
no outgoing calls
no test coverage detected