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

int gp_camera_ref ( Camera camera  ) 

Increment the reference count of a camera.

camera a Camera
a gphoto2 error code

Definition at line 528 of file gphoto2-camera.c.

References CHECK_NULL, and GP_OK.

      CHECK_NULL (camera);

      camera->pc->ref_count += 1;

      return (GP_OK);

Generated by  Doxygen 1.6.0   Back to index