MCPcopy Create free account
hub / github.com/assaultcube/AC / drop

Method drop

source/src/tools.h:371–371  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

369 T &pop() { ASSERT(ulen > 0); return buf[--ulen]; }
370 T &last() { ASSERT(ulen > 0); return buf[ulen-1]; }
371 void drop() { ASSERT(ulen > 0); buf[--ulen].~T(); }
372 bool empty() const { return ulen==0; }
373
374 int capacity() const { return alen; }

Callers 13

entpropertyFunction · 0.45
deletesoundentityFunction · 0.45
editentityFunction · 0.45
parsemessagesFunction · 0.45
loopiMethod · 0.45
getMethod · 0.45
loopvFunction · 0.45
updateplayerfootstepsMethod · 0.45
updateloopsoundMethod · 0.45
addselectionFunction · 0.45
editdragFunction · 0.45
consolekeyFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected