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

Method Clear

crengine/src/lstridmap.cpp:296–305  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

294
295
296void LDOMNameIdMap::Clear()
297{
298 for (lUInt16 i = 0; i<m_count; i++)
299 {
300 if (m_by_name[i])
301 delete m_by_name[i];
302 }
303 memset( m_by_id, 0, sizeof(LDOMNameIdMapItem *)*m_size);
304 m_count = 0;
305}
306
307void LDOMNameIdMap::dumpUnknownItems( FILE * f, int start_id )
308{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected