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

Function String_CalcLen

src/String.c:14–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12#endif
13
14int String_CalcLen(const char* raw, int capacity) {
15 int length = 0;
16 while (length < capacity && *raw) { raw++; length++; }
17 return length;
18}
19
20int String_Length(const char* raw) {
21 int length = 0;

Callers 15

Process_RawGetExePathFunction · 0.85
Platform_DescribeErrorFunction · 0.85
Platform_DescribeErrorFunction · 0.85
OnTextEventFunction · 0.85
String_FromRawFunction · 0.85
Platform_DescribeErrorFunction · 0.85
Platform_DescribeErrorFunction · 0.85
Window_OnTextChangedFunction · 0.85
GLContext_GetApiInfoFunction · 0.85
Platform_DescribeErrorFunction · 0.85
Platform_DescribeErrorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected