MCPcopy Create free account
hub / github.com/DreamSourceLab/DSView / reset

Method reset

DSView/pv/data/decode/annotationrestable.cpp:332–342  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

330}
331
332void AnnotationResTable::reset()
333{
334 //release all resource
335 for (auto p : m_resourceTable){
336 if (p->str_number_hex)
337 free(p->str_number_hex);
338 delete p;
339 }
340 m_resourceTable.clear();
341 m_indexs.clear();
342}
343
344int AnnotationResTable::hexToDecimal(char * hex)
345{

Callers 1

clearMethod · 0.45

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected