equal
deleted
inserted
replaced
147 static int _blocks_allocated; // For debugging/printing |
147 static int _blocks_allocated; // For debugging/printing |
148 |
148 |
149 // Fill block with bad_handle values |
149 // Fill block with bad_handle values |
150 void zap(); |
150 void zap(); |
151 |
151 |
152 protected: |
|
153 // No more handles in the both the current and following blocks |
|
154 void clear() { _top = 0; } |
|
155 |
|
156 private: |
|
157 // Free list computation |
152 // Free list computation |
158 void rebuild_free_list(); |
153 void rebuild_free_list(); |
159 |
154 |
160 public: |
155 public: |
161 // Handle allocation |
156 // Handle allocation |