[libvirt] [PATCH 01/20] Add a virBitmapCopy API

Eric Blake eblake at redhat.com
Wed Sep 12 17:51:25 UTC 2012


On 09/12/2012 10:22 AM, Daniel P. Berrange wrote:
>>
>> This requires you to pre-create the copy, so a better name might be
>> virBitmapCopyInto(), and then rebase Hu's patch, so that his function
>> signature:
>>

> Actually I think my function has the right name already. Functions
> which create new instances should have 'New' in their name, eg
> 
>     virBitmapPtr virBitmapNewCopy(virBitmapPtr src)
> 
> Unless you object to this suggestion, I'll push my patch and let
> Hu rebase against it.

Yes, your alternate proposal of how to do the new naming makes sense, so
ACK to your patch going in as-is.

-- 
Eric Blake   eblake at redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 617 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120912/b413c1a4/attachment-0001.sig>


More information about the libvir-list mailing list