Lines 103-108
Link Here
|
103 |
/* */ |
103 |
/* */ |
104 |
/************************************************************************/ |
104 |
/************************************************************************/ |
105 |
|
105 |
|
|
|
106 |
class EST_ChunkPtr; |
107 |
|
106 |
class EST_Chunk { |
108 |
class EST_Chunk { |
107 |
public: |
109 |
public: |
108 |
typedef unsigned short use_counter; |
110 |
typedef unsigned short use_counter; |
Lines 152-157
class EST_Chunk {
Link Here
|
152 |
/* */ |
154 |
/* */ |
153 |
/************************************************************************/ |
155 |
/************************************************************************/ |
154 |
|
156 |
|
|
|
157 |
EST_ChunkPtr chunk_allocate(int bytes); |
158 |
EST_ChunkPtr chunk_allocate(int bytes, const char *initial, int initial_len); |
159 |
EST_ChunkPtr chunk_allocate(int bytes, const EST_ChunkPtr &initial, int initial_start, int initial_len); |
160 |
|
161 |
void make_updatable(EST_ChunkPtr &shared, EST_Chunk::EST_chunk_size inuse); |
162 |
void make_updatable(EST_ChunkPtr &shared); |
163 |
|
155 |
class EST_ChunkPtr { |
164 |
class EST_ChunkPtr { |
156 |
private: |
165 |
private: |
157 |
EST_Chunk *ptr; |
166 |
EST_Chunk *ptr; |