MCPcopy Create free account
hub / github.com/TheForceEngine/TheForceEngine / initializeList

Function initializeList

TheForceEngine/TFE_Jedi/Memory/list.cpp:132–140  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

130 }
131
132 void initializeList(List* list)
133 {
134 list->iter = list->head;
135 list->nextFree = list->head;
136 list->count = 0;
137
138 s32 size = s32(list->end - list->head + list->step);
139 memset(list->head, 0, size);
140 }
141
142}

Callers 2

list_allocateFunction · 0.85
list_clearFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected