MCPcopy Create free account
hub / github.com/CodingGay/BlackDex / __list_add

Function __list_add

Bcore/src/main/cpp/Dobby/source/include/list_structure.h:23–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21}
22
23static void __list_add(struct list_head *new_node, struct list_head *prev, struct list_head *next) {
24 next->prev = new_node;
25 new_node->next = next;
26 new_node->prev = prev;
27 prev->next = new_node;
28}
29
30static inline void list_add(struct list_head *new_node, struct list_head *head) {
31 __list_add(new_node, head, head->next);

Callers 1

list_addFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected