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

void zbar_image_destroy ( zbar_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

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 46 of file image.c.

References zbar_image_destroy().

Referenced by zbar_image_convert_resize(), zbar_image_destroy(), zbar_video_destroy(), zbar_video_init(), and zbar_window_redraw().

    _zbar_image_refcnt(img, -1);

Generated by  Doxygen 1.6.0   Back to index