[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH] Add missing function parameter documentation



> diff --git a/src/libvirt.c b/src/libvirt.c
> index d973907..32f9fc4 100644
> --- a/src/libvirt.c
> +++ b/src/libvirt.c
> @@ -10939,7 +10939,10 @@ error:
>  /**
>   * virConnectCompareCPU:
>   * @conn: virConnect connection
> - * @xml: XML describing the CPU to compare with host CPU
> + * @xmlDesc: XML describing the CPU to compare with host CPU
> + * @flags: currently unused, pass 0
> + *
> + * Compares the given CPU description with the host CPU
>   *
>   * Returns comparison result according to enum virCPUCompareResult
>   */
> diff --git a/src/util/virterror.c b/src/util/virterror.c
> index e2128b9..d72b307 100644
> --- a/src/util/virterror.c
> +++ b/src/util/virterror.c
> @@ -291,6 +291,7 @@ virGetLastError(void)
>  
>  /**
>   * virSetError:
> + * @newerr: previously saved error object
>   *
>   * Set the current error from a previously saved error object
>   *

Thanks, I actually prepared a patch similar to yours but haven't sent it yet.

ACK

Jirka


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]