MCPcopy Create free account
hub / github.com/DFHack/dfhack / color_tree_init

Function color_tree_init

depends/lodepng/lodepng.cpp:3115–3118  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3113};
3114
3115static void color_tree_init(ColorTree* tree) {
3116 lodepng_memset(tree->children, 0, 16 * sizeof(*tree->children));
3117 tree->index = -1;
3118}
3119
3120static void color_tree_cleanup(ColorTree* tree) {
3121 int i;

Callers 3

color_tree_addFunction · 0.85
lodepng_convertFunction · 0.85

Calls 1

lodepng_memsetFunction · 0.85

Tested by

no test coverage detected