MCPcopy Create free account
hub / github.com/Achain-Dev/Achain / FindFromListTail

Function FindFromListTail

src/Chain/libraries/glua/glua_structs.cpp:108–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

106 }
107
108 ListItem* FindFromListTail(List* list, ListItemCmpFn cmp, const void* sample) {
109 ListItem* walk = list->tail;
110 while (walk) {
111 if (cmp(walk, sample))
112 return walk;
113 walk = walk->prev;
114 }
115 return NULL;
116 }
117
118 ListItem* RemoveFromList(List* list, ListItem* item) {
119 if (!list || !item) {

Callers 5

CloseTableFunction · 0.85
PrintTableFunction · 0.85
SetListFunction · 0.85
SetTableFunction · 0.85
ProcessCodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected