mediaLib Library Functions mlibImageDelete(3MLIB)
NAME
mlibImageDelete - image delete
SYNOPSIS
cc [ flag... ] file... -lmlib [ library... ]
#include
void mlibImageDelete(mlibimage *img);
DESCRIPTION
The mlibImageDelete() function deletes the mediaLib image
data structure and frees the memory space of the image data
only if it is allocated through mlibImageCreate(). The data
type of the image can be MLIBIT, MLIBYTE, MLIBSHORT,
MLIBUSHORT, MLIBINT, MLIBFLOAT, or MLIBDOUBLE.
PARAMETERS
The function takes the following arguments:
img Pointer to mediaLib image structure.
RETURN VALUES
None.
ATRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
ATRIBUTE TYPE ATRIBUTE VALUE
Interface Stability Committed
MT-Level MT-Safe
SEE ALSO
mlibImageCreate(3MLIB), mlibImageCreateStruct(3MLIB),
mlibImageCreateSubimage(3MLIB), attributes(5)
SunOS 5.11 Last change: 2 Mar 2007 1
|