MCPcopy Create free account
hub / github.com/baldurk/renderdoc / appendstring

Function appendstring

renderdoc/strings/utf8printf.cpp:104–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102}
103
104void appendstring(char *&output, size_t &actualsize, char *end, const char *str, size_t len)
105{
106 for(size_t i = 0; i < len; i++)
107 {
108 if(str[i] == 0)
109 return;
110
111 actualsize++;
112 if(output != end)
113 *(output++) = str[i];
114 }
115}
116
117void appendstring(char *&output, size_t &actualsize, char *end, const char *str)
118{

Callers 4

PrintIntegerFunction · 0.85
PrintFloat0Function · 0.85
PrintFloatFunction · 0.85
formatargumentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected