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

Function String_FromRaw

src/String.c:26–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24}
25
26cc_string String_FromRaw(STRING_REF char* buffer, int capacity) {
27 return String_Init(buffer, String_CalcLen(buffer, capacity), capacity);
28}
29
30cc_string String_FromReadonly(STRING_REF const char* buffer) {
31 int len = String_Length(buffer);

Callers 6

Window_OpenFileDialogFunction · 0.85
Window_SaveFileDialogFunction · 0.85
Dat_LoadFormat2Function · 0.85
Window_OpenFileDialogFunction · 0.85
Window_SaveFileDialogFunction · 0.85
Block_UNSAFE_GetNameFunction · 0.85

Calls 2

String_InitFunction · 0.85
String_CalcLenFunction · 0.85

Tested by

no test coverage detected