MCPcopy Create free account
hub / github.com/HiLab-git/SimpleCRF / string_init

Function string_init

dependency/densecrf/examples/lodepng.cpp:291–295  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

289
290/*init a {char*, size_t} pair for use as string*/
291static void string_init(char** out)
292{
293 *out = NULL;
294 string_resize(out, 0);
295}
296
297/*free the above pair again*/
298static 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