MCPcopy Create free account
hub / github.com/Kitware/VTK / xmlLinkDeallocator

Function xmlLinkDeallocator

ThirdParty/libxml2/vtklibxml2/list.c:58–66  ·  view source on GitHub ↗

* xmlLinkDeallocator: * @l: a list * @lk: a link * * Unlink and deallocate @lk from list @l */

Source from the content-addressed store, hash-verified

56 * Unlink and deallocate @lk from list @l
57 */
58static void
59xmlLinkDeallocator(xmlListPtr l, xmlLinkPtr lk)
60{
61 (lk->prev)->next = lk->next;
62 (lk->next)->prev = lk->prev;
63 if(l->linkDeallocator)
64 l->linkDeallocator(lk);
65 xmlFree(lk);
66}
67
68/**
69 * xmlLinkCompare:

Callers 5

xmlListRemoveFirstFunction · 0.85
xmlListRemoveLastFunction · 0.85
xmlListClearFunction · 0.85
xmlListPopFrontFunction · 0.85
xmlListPopBackFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected