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

Function resetcopybuffers

source/src/editing.cpp:611–620  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

609void *copytexconfig = NULL;
610
611void resetcopybuffers()
612{
613 loopv(copybuffers) freeblock(copybuffers[i]);
614 copybuffers.shrink(0);
615 if(copytexconfig)
616 {
617 texconfig_delete(copytexconfig);
618 copytexconfig = NULL;
619 }
620}
621
622void copy()
623{

Callers 1

copyFunction · 0.85

Calls 4

freeblockFunction · 0.85
texconfig_deleteFunction · 0.85
shrinkMethod · 0.80
loopvFunction · 0.70

Tested by

no test coverage detected