[libvirt] [PATCH 01/10] conf: Make @def const in virDomainDefGetMemoryInitial

John Ferlan jferlan at redhat.com
Tue Oct 20 13:34:05 UTC 2015



On 10/16/2015 08:11 AM, Peter Krempa wrote:
> Keep const correctness and allow to use this function in cases where
> @def is const in the caller.
> ---
>  src/conf/domain_conf.c | 2 +-
>  src/conf/domain_conf.h | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 

All because the new API you add in patch 5 uses "const virDomainDef *" -
not that it matters one way or another to me, but it would seem other
Get API's could/should have the same prototype change...  Eventually...

ACK -

John




More information about the libvir-list mailing list