chore(array): clean up code style

This commit is contained in:
fallenoak 2025-10-19 11:21:01 -05:00
parent 32a1b30ae8
commit 7c9cda1b5b
No known key found for this signature in database
GPG key ID: 7628F8E61AEA070D
3 changed files with 11 additions and 7 deletions

View file

@ -10,13 +10,15 @@
template <class T>
class TSGrowableArray : public TSFixedArray<T> {
public:
// Member variables
uint32_t m_chunk = 0;
// Member functions
uint32_t Add(uint32_t count, const T* data);
uint32_t Add(uint32_t count, uint32_t incr, const T* data);
uint32_t CalcChunkSize(uint32_t count);
void GrowToFit(uint32_t index, int32_t zero);
T* New(void);
T* New();
void Reserve(uint32_t count, int32_t round);
uint32_t Reserved() const;
uint32_t RoundToChunk(uint32_t count, uint32_t chunk);