MCPcopy Create free account
hub / github.com/OpenXcom/OpenXcom / string_init

Function string_init

src/lodepng.cpp:290–294  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

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