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

void zebra_image_ref ( zebra_image_t image,
int  refs 
)

image reference count manipulation. increment the reference count when you store a new reference to the image. decrement when the reference is no longer used. do not refer to the image any longer once the count is decremented. zebra_image_ref(image, -1) is the same as zebra_image_destroy(image)

Since:
0.5

Definition at line 40 of file image.c.

References zebra_image_ref().

Referenced by zebra::Image::Image(), and zebra_image_ref().

{
    _zebra_image_refcnt(img, refs);
}


Generated by  Doxygen 1.6.0   Back to index