MCPcopy Create free account
hub / github.com/ClassiCube/ClassiCube / String_Copy

Function String_Copy

src/String.c:36–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34
35
36void String_Copy(cc_string* dst, const cc_string* src) {
37 dst->length = 0;
38 String_AppendString(dst, src);
39}
40
41int String_CopyToRaw(char* dst, int capacity, const cc_string* src) {
42 int i, len = min(capacity, src->length);

Callers 15

HttpUrl_ParseFunction · 0.85
ConnectionPool_InsertFunction · 0.85
HttpClient_ParseHeaderFunction · 0.85
Logger_DialogWarnFunction · 0.85
LInput_SetTextFunction · 0.85
LLabel_SetTextFunction · 0.85
LTable_SetSelectedToFunction · 0.85
Platform_InitFunction · 0.85
TextInputWidget_CreateFunction · 0.85
ChatInputWidget_UpKeyFunction · 0.85
Clipboard_SetTextFunction · 0.85
TexturePack_ExtractFunction · 0.85

Calls 1

String_AppendStringFunction · 0.85

Tested by

no test coverage detected