[libvirt] [PATCHv2 5/8] python: Don't generate bindings for vir*Ref
Daniel P. Berrange
berrange at redhat.com
Mon Oct 5 12:40:03 UTC 2009
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 at redhat.com>
> ---
> 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 :|
More information about the libvir-list
mailing list