34 #ifndef CLIENT_MINIDUMP_FILE_WRITER_INL_H__ 35 #define CLIENT_MINIDUMP_FILE_WRITER_INL_H__ 44 template<
typename MDType>
46 allocation_state_ = SINGLE_OBJECT;
50 template<
typename MDType>
52 allocation_state_ = SINGLE_OBJECT;
56 template<
typename MDType>
59 allocation_state_ = ARRAY;
63 template<
typename MDType>
66 assert(count && length);
67 allocation_state_ = SINGLE_OBJECT_WITH_ARRAY;
71 template<
typename MDType>
73 assert(allocation_state_ == ARRAY);
79 template<
typename MDType>
83 assert(allocation_state_ == SINGLE_OBJECT_WITH_ARRAY);
90 template<
typename MDType>
97 #endif // CLIENT_MINIDUMP_FILE_WRITER_INL_H__ bool CopyIndexAfterObject(unsigned int index, const void *src, size_t size)
bool AllocateObjectAndArray(size_t count, size_t size)
bool Allocate(size_t size)
bool CopyIndex(unsigned int index, MDType *item)
bool AllocateArray(size_t count)