Logo Search packages:      
Sourcecode: libgphoto2 version File versions

int gp_list_unref ( CameraList *  list  ) 

Decrements the reference count of the list.

list a CameraList
a gphoto2 error code
If there are no references left, the list will be freed.

Definition at line 142 of file gphoto2-list.c.

References CHECK_LIST, and gp_list_free().

      CHECK_LIST (list);


      if (!list->ref_count)
            gp_list_free (list);

      return (GP_OK);

Generated by  Doxygen 1.6.0   Back to index