MCPcopy Create free account
hub / github.com/GaijinEntertainment/daScript / clear

Method clear

modules/dasUnitTest/unitTest.h:102–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

100 explicit SimpleString(const char *s) : string((char *)s) {}
101 ~SimpleString() {}
102 void clear()
103 {
104 freeStr();
105 string = nullptr;
106 }
107 void copyStr(const char *s) { string = (char *)s; }
108 void freeStr() { (string) ? free(string) : (void)0; }
109 // assigment operators

Callers 6

_destroyMethod · 0.45
touchMethod · 0.45
~WebServer_AdapterMethod · 0.45
live_host_clear_errorFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected