MCPcopy Create free account
hub / github.com/creatale/node-dv / string_set

Function string_set

deps/lodepng/lodepng.cpp:312–322  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

310}
311
312static void string_set(char** out, const char* in)
313{
314 size_t insize = strlen(in), i;
315 if(string_resize(out, insize))
316 {
317 for(i = 0; i != insize; ++i)
318 {
319 (*out)[i] = in[i];
320 }
321 }
322}
323#endif /*LODEPNG_COMPILE_ANCILLARY_CHUNKS*/
324#endif /*LODEPNG_COMPILE_PNG*/
325

Callers 2

lodepng_add_textFunction · 0.85
lodepng_add_itextFunction · 0.85

Calls 1

string_resizeFunction · 0.85

Tested by

no test coverage detected