[libvirt] [PATCH 2/5] python: drop redundant function

Jiri Denemark jdenemar at redhat.com
Fri Feb 3 08:54:46 UTC 2012


On Thu, Feb 02, 2012 at 17:33:21 -0700, Eric Blake wrote:
> I noticed some redundant code while preparing my next patch.
> 
> * python/generator.py (py_types): Fix 'const char *' mapping.
> * python/typewrappers.h (libvirt_charPtrConstWrap): Drop.
> * python/typewrappers.c (libvirt_charPtrConstWrap): Delete, since
> it is identical to libvirt_constcharPtrWrap.
> ---
>  python/generator.py   |    2 +-
>  python/typewrappers.c |   13 -------------
>  python/typewrappers.h |    3 +--
>  3 files changed, 2 insertions(+), 16 deletions(-)

ACK

Jirka




More information about the libvir-list mailing list