Re: [libvirt] [PATCHv2 5/8] python: Don't generate bindings for vir*Ref

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

 



On Fri, Oct 02, 2009 at 01:46:50PM -0400, Cole Robinson wrote:
> They are only for use in implementing the bindings, so shouldn't be
> exposed to regular API users.
> 
> Signed-off-by: Cole Robinson <crobinso@xxxxxxxxxx>
> ---
>  python/generator.py |   10 ++++++++++
>  1 files changed, 10 insertions(+), 0 deletions(-)
> 
> diff --git a/python/generator.py b/python/generator.py
> index 758914e..437de0c 100755
> --- a/python/generator.py
> +++ b/python/generator.py
> @@ -333,6 +333,16 @@ skip_function = (
>      'virStreamSendAll',
>      'virStreamRef',
>      'virStreamFree',
> +
> +    # These have no use for bindings users.
> +    "virConnectRef",
> +    "virDomainRef",
> +    "virInterfaceRef",
> +    "virNetworkRef",
> +    "virNodeDeviceRef",
> +    "virSecretRef",
> +    "virStoragePoolRef",
> +    "virStorageVolRef",
>  )
>  
>  

ACK

Daniel
-- 
|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|

--
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]