Re: [PATCH v2 1/2] python: Add new helper functions for python to C integral conversion

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

 



On 03/28/2012 04:07 AM, Eric Blake wrote:
On 03/27/2012 12:06 AM, Guannan Ren wrote:
     int libvirt_intUnwrap(PyObject *obj, int *val);
     int libvirt_uintUnwrap(PyObject *obj, unsigned int *val);
     int libvirt_longUnwrap(PyObject *obj, long *val);
     int libvirt_ulongUnwrap(PyObject *obj, unsigned long *val);
     int libvirt_longlongUnwrap(PyObject *obj, long long *val);
     int libvirt_ulonglongUnwrap(PyObject *obj, unsigned long long *val);
     int libvirt_doubleUnwrap(PyObject *obj, double *val);
     int libvirt_boolUnwrap(PyObject *obj, bool *val);
---
  python/typewrappers.c |  132 +++++++++++++++++++++++++++++++++++++++++++++++++
  python/typewrappers.h |    9 +++
  2 files changed, 141 insertions(+), 0 deletions(-)
ACK.


     Thanks, could you push for me.

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