MCPcopy Create free account
hub / github.com/crawl/crawl / clear

Method clear

crawl-ref/source/message.cc:268–274  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

266 circ_vec() : end(0), has_circled(false) {}
267
268 void clear()
269 {
270 end = 0;
271 has_circled = false;
272 for (int i = 0; i < SIZE; ++i)
273 data[i] = T();
274 }
275
276 int size() const
277 {

Callers 7

clear_linesMethod · 0.45
scrollMethod · 0.45
roll_backMethod · 0.45
clearMethod · 0.45
force_updateMethod · 0.45
clear_messagesFunction · 0.45
clear_message_storeFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected