MCPcopy Create free account
hub / github.com/buggins/coolreader / alloc_chunk

Method alloc_chunk

crengine/src/lvstring.cpp:72–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70 free( pChunks );
71 }
72 inline lstring_chunk_t * alloc_chunk()
73 {
74 lstring_chunk_t * res = pFree;
75 pFree = res->nextfree;
76 return res;
77 }
78 inline bool free_chunk( lstring_chunk_t * pChunk )
79 {
80 if (pChunk < pChunks || pChunk >= pEnd)

Callers 1

allocMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected