MCPcopy Create free account
hub / github.com/NetHack/NetHack / wl_addtail

Function wl_addtail

src/windows.c:175–189  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

173}
174
175staticfn void
176wl_addtail(struct winlink *wl)
177{
178 struct winlink *p = chain;
179
180 if (!chain) {
181 chain = wl;
182 return;
183 }
184 while (p->nextlink) {
185 p = p->nextlink;
186 }
187 p->nextlink = wl;
188 return;
189}
190#endif /* WINCHAIN */
191
192boolean

Callers 2

addto_windowchainFunction · 0.85
commit_windowchainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected