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

void gp_context_unref ( GPContext context  ) 

Decrements reference count of a context.

Decrement the reference count of a context and free if it goes to 0.

context The context to drop the reference count.

Definition at line 116 of file gphoto2-context.c.

References _GPContext::ref_count.

      if (!context)

      if (!context->ref_count)
            gp_context_free (context);

Generated by  Doxygen 1.6.0   Back to index