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

Function findlast

depends/lua/src/lgc.c:869–873  ·  view source on GitHub ↗

** find last 'next' field in list 'p' list (to add elements in its end) */

Source from the content-addressed store, hash-verified

867** find last 'next' field in list 'p' list (to add elements in its end)
868*/
869static GCObject **findlast (GCObject **p) {
870 while (*p != NULL)
871 p = &(*p)->next;
872 return p;
873}
874
875
876/*

Callers 1

separatetobefnzFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected