[libvirt] [python PATCH v2 2/5] API: Skip 'virDomainStatsRecordListFree'

Peter Krempa pkrempa at redhat.com
Mon Sep 1 21:21:12 UTC 2014


On 09/01/14 22:18, Pavel Hrdina wrote:
> From: Peter Krempa <pkrempa at redhat.com>
> 
> The new API function doesn't make sense to be exported in python. The
> bindings will return native types instead of the struct array.
> 
> Signed-off-by: Peter Krempa <pkrempa at redhat.com>
> Signed-off-by: Pavel Hrdina <phrdina at redhat.com>
> ---
>  generator.py  | 1 +
>  sanitytest.py | 3 +++
>  2 files changed, 4 insertions(+)
> 

> diff --git a/sanitytest.py b/sanitytest.py
> index 4f4a648..10cf9f0 100644
> --- a/sanitytest.py
> +++ b/sanitytest.py
> @@ -81,6 +81,9 @@ for cname in wantfunctions:
>      if name[0:23] == "virNetworkDHCPLeaseFree":
>          continue
>  
> +    if name[0:28] == "virDomainStatsRecordListFree":
> +        continue
> +

Thanks for catching this. I didn't run the sanity test :/

>      # These aren't functions, they're callback signatures
>      if name in ["virConnectAuthCallbackPtr", "virConnectCloseFunc",
>                  "virStreamSinkFunc", "virStreamSourceFunc", "virStreamEventCallback",
> 

ACK,

Peter


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


More information about the libvir-list mailing list