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

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

 




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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]