Platform-independent image representation
More...
|
file | img.h |
| Platform-independent image type.
|
|
Platform-independent image representation
◆ kos_img_free()
void kos_img_free |
( |
kos_img_t * | img, |
|
|
int | struct_also ) |
Free a kos_img_t object.
This function frees the data in a kos_img_t object, returning any memory to the heap as appropriate. Optionally, this can also free the object itself, if required.
- Parameters
-
img | The image object to free. |
struct_also | Set to non-zero to free the image object itself, as well as any data contained therein. |