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

Peter Krempa pkrempa at redhat.com
Tue Nov 10 07:49:14 UTC 2015


On Tue, Oct 20, 2015 at 09:34:05 -0400, John Ferlan wrote:
> 
> 
> 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 -

I've pushed this one. Thanks.

Peter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20151110/e8954ac7/attachment-0001.sig>


More information about the libvir-list mailing list