mirror of
https://github.com/thunderbrewhq/squall.git
synced 2026-02-04 00:49:08 +00:00
chore(array): clean up code style
This commit is contained in:
parent
32a1b30ae8
commit
7c9cda1b5b
3 changed files with 11 additions and 7 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue