[libvirt] [PATCH libvirt-java 5/9] Implement virDomainUndefineFlags
Eric Blake
eblake at redhat.com
Tue Jan 8 00:00:59 UTC 2013
On 01/07/2013 06:55 AM, Claudio Bley wrote:
>
>> + public int undefineFlags(int flags) throws LibvirtException {
>
> Should we take advantage of Java's method overloading capability here?
>
> I propose to divert from the mapping rules and just overload the
> undefine method with an additional parameter.
Agreed. For higher-level languages that support overloads and/or
default parameters, we don't need to expose the poor naming goop that
lower-level C is stuck with.
--
Eric Blake eblake 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: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20130107/d0062762/attachment-0001.sig>
More information about the libvir-list
mailing list