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

Function String_Length

src/String.c:20–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18}
19
20int String_Length(const char* raw) {
21 int length = 0;
22 while (length < UInt16_MaxValue && *raw) { raw++; length++; }
23 return length;
24}
25
26cc_string String_FromRaw(STRING_REF char* buffer, int capacity) {
27 return String_Init(buffer, String_CalcLen(buffer, capacity), capacity);

Callers 15

ZipWriter_LocalFileFunction · 0.85
ZipWriter_CentralDirFunction · 0.85
ZipWriter_FixupLocalFileFunction · 0.85
Platform_DecodePathFunction · 0.85
Directory_EnumFunction · 0.85
Platform_DescribeErrorFunction · 0.85
GetMachineIDFunction · 0.85
Platform_DecodePathFunction · 0.85
Directory_EnumFunction · 0.85
OpenSaveFileDialogFunction · 0.85
Platform_LogConstFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected