MCPcopy Create free account
hub / github.com/DFHack/dfhack / linked_list_append

Function linked_list_append

library/include/MiscUtils.h:290–297  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

288
289template<typename Link>
290Link *linked_list_append(Link *head, Link *tail)
291{
292 while (head->next)
293 head = head->next;
294 head->next = tail;
295 tail->prev = head;
296 return tail;
297}
298
299template<typename Link>
300Link *linked_list_insert_after(Link *pos, Link *link)

Callers 2

makeProjectileMethod · 0.85
linkIntoWorldMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected