diff options
-rw-r--r-- | libgphoto2/gphoto2-camera.c | 10 | ||||
-rw-r--r-- | libgphoto2/gphoto2-library.c | 16 | ||||
-rw-r--r-- | libgphoto2/gphoto2-result.c | 2 |
3 files changed, 14 insertions, 14 deletions
diff --git a/libgphoto2/gphoto2-camera.c b/libgphoto2/gphoto2-camera.c index 65d9ab46a..da11b83c2 100644 --- a/libgphoto2/gphoto2-camera.c +++ b/libgphoto2/gphoto2-camera.c @@ -631,11 +631,11 @@ gp_camera_free (Camera *camera) * @return a gphoto2 error code * * Before calling this function, the - * \c camera should be set up using #gp_camera_set_port_path or - * #gp_camera_set_port_name and #gp_camera_set_abilities. If that has been + * \c camera should be set up using gp_camera_set_port_path() or + * gp_camera_set_port_name() and gp_camera_set_abilities(). If that has been * omitted, gphoto2 tries to autodetect any cameras and chooses the first one * if any cameras are found. It is generally a good idea to call - * #gp_camera_exit after transactions have been completed in order to give + * gp_camera_exit() after transactions have been completed in order to give * other applications the chance to access the camera, too. * */ @@ -981,8 +981,8 @@ gp_camera_capture (Camera *camera, CameraCaptureType type, * @param context a #GPContext * @return a gphoto2 error code * - * For example, you could use #gp_capture_preview for taking some sample - * pictures before calling #gp_capture. + * For example, you could use gp_capture_preview() for taking some sample + * pictures before calling gp_capture(). * **/ int diff --git a/libgphoto2/gphoto2-library.c b/libgphoto2/gphoto2-library.c index 2c3463020..0ec719683 100644 --- a/libgphoto2/gphoto2-library.c +++ b/libgphoto2/gphoto2-library.c @@ -48,7 +48,7 @@ camera_id (CameraText *id) * This function should use #gp_abilities_list_append as many times as the * number of models the camera driver supports. That is, fill out (in a loop) * the #CameraAbilities for each model and append each of those to the - * supplied list using #gp_abilities_list_append. Then, return %GP_OK. + * supplied list using gp_abilities_list_append(). Then, return #GP_OK. * * \returns a gphoto2 error code **/ @@ -68,14 +68,14 @@ camera_abilities (CameraAbilitiesList *list) * to the camera. That is, access camera->functions directly and set them * to your implementation (if you have any). Then, tell the #CameraFilesystem * (available in #camera->fs) how to retrieve lists - * (#gp_filesystem_set_list_funcs), how to retrieve or set file information - * (#gp_filesystem_set_info_funcs), how to get or delete files - * (#gp_filesystem_set_file_funcs), or how to put files or delete all files + * (gp_filesystem_set_list_funcs()), how to retrieve or set file information + * (gp_filesystem_set_info_funcs()), how to get or delete files + * (gp_filesystem_set_file_funcs()), or how to put files or delete all files * in a folder (#gp_filesystem_set_folder_funcs). After that, configure - * the port (%camera->port) which is already opened by gphoto2. You just have - * to call #gp_port_settings_get, adjust the settings, call - * #gp_port_settings_set, and try to write to and read from the port. - * If the camera responds, return %GP_OK. If not, return some + * the port (#camera->port) which is already opened by gphoto2. You just have + * to call gp_port_settings_get(), adjust the settings, call + * gp_port_settings_set(), and try to write to and read from the port. + * If the camera responds, return #GP_OK. If not, return some * meaningful error code. * * \returns a gphoto2 error code diff --git a/libgphoto2/gphoto2-result.c b/libgphoto2/gphoto2-result.c index 42e6310dd..4f4f530ef 100644 --- a/libgphoto2/gphoto2-result.c +++ b/libgphoto2/gphoto2-result.c @@ -64,7 +64,7 @@ static struct { * * Translates a gphoto2 error code into a human readable string. If the * error occurred in combination with a camera, - * #gp_camera_get_result_as_string should be used instead. + * gp_camera_get_result_as_string() should be used instead. * * \return A string representation of a gphoto2 error code **/ |