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

Function string_init

deps/lodepng/lodepng.cpp:299–303  ·  view source on GitHub ↗

init a {char*, size_t} pair for use as string*/

Source from the content-addressed store, hash-verified

297
298/*init a {char*, size_t} pair for use as string*/
299static void string_init(char** out)
300{
301 *out = NULL;
302 string_resize(out, 0);
303}
304
305/*free the above pair again*/
306static void string_cleanup(char** out)

Callers 2

lodepng_add_textFunction · 0.85
lodepng_add_itextFunction · 0.85

Calls 1

string_resizeFunction · 0.85

Tested by

no test coverage detected