MCPcopy Create free account
hub / github.com/defold/defold / Free

Function Free

engine/dlib/src/dlib/image.cpp:136–140  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

134 }
135
136 void Free(Image* image)
137 {
138 free(image->m_Buffer);
139 memset(image, 0, sizeof(*image));
140 }
141
142 Type GetType(HImage image)
143 {

Callers 7

DeleteImageFunction · 0.70
TESTFunction · 0.50
~RingBufferMethod · 0.50
SetCapacityMethod · 0.50
Image_LoadFunction · 0.50
Image_LoadBufferFunction · 0.50
~btUnionFindMethod · 0.50

Calls 1

freeFunction · 0.85

Tested by 1

TESTFunction · 0.40