Logo Search packages:      
Sourcecode: zebra version File versions  Download package

void zebra_image_destroy ( zebra_image_t image  ) 

image destructor. all images created by or returned to the application should be destroyed using this function. when an image is destroyed, the associated data cleanup handler will be invoked if available

Note:
make no assumptions about the image or the data buffer. they may not be destroyed/cleaned immediately if the library is still using them. if necessary, use the cleanup handler hook to keep track of image data buffers

Definition at line 35 of file image.c.

References zebra_image_destroy().

Referenced by zebra_image_destroy(), and zebra_scan_image().

{
    _zebra_image_refcnt(img, -1);
}


Generated by  Doxygen 1.6.0   Back to index