]> git.bts.cx Git - benzene.git/blob - third_party/soloud_speech/darray.h
Sprites
[benzene.git] / third_party / soloud_speech / darray.h
1 #if !defined(DARRAY_H)
2 #define DARRAY_H
3
4 class darray
5 {
6 protected:
7 char *mData;
8 int mUsed;
9 int mAllocated;
10 int mAllocChunk;
11 public:
12 darray();
13 ~darray();
14 void clear();
15 char *getDataInPos(int aPosition);
16 void put(int aData);
17 int getSize() const { return mUsed; }
18 char *getData() { return mData; }
19 };
20
21 #endif
22