MCPcopy Create free account
hub / github.com/dillo-browser/dillo / detachArray

Method detachArray

lout/misc.hh:168–174  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

166 inline T* getArray() const { return array; }
167
168 inline T* detachArray() {
169 T* arr = array;
170 array = NULL;
171 numAlloc = 0;
172 num = 0;
173 return arr;
174 }
175
176 /**
177 * \brief Increase the vector size by one.

Callers 3

hyphenateWordMethod · 0.80
createTrieMethod · 0.80
loadMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected