diff options
author | Daniel Veillard <veillard@redhat.com> | 2006-01-31 10:24:12 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@redhat.com> | 2006-01-31 10:24:12 +0000 |
commit | fb54944e588be376fcd3fc9e01d8592a86731c41 (patch) | |
tree | fb429f11ee08c69237125a2330e00cfb139c10d0 /types.c | |
parent | 0955d746e83c9af235aec6f4c2cb568e6ab4f1ac (diff) | |
download | libvirt-python-v6-fb54944e588be376fcd3fc9e01d8592a86731c41.tar.gz libvirt-python-v6-fb54944e588be376fcd3fc9e01d8592a86731c41.tar.xz libvirt-python-v6-fb54944e588be376fcd3fc9e01d8592a86731c41.zip |
* python/*: update of the python bindings, fix names, add
missing features like list of domains and domain info extraction
Daniel
Diffstat (limited to 'types.c')
-rw-r--r-- | types.c | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -34,6 +34,18 @@ libvir_longWrap(long val) } PyObject * +libvir_longlongWrap(long long val) +{ + PyObject *ret; + +#ifdef DEBUG + printf("libvir_longWrap: val = %ld\n", val); +#endif + ret = PyLong_FromUnsignedLongLong((unsigned long long) val); + return (ret); +} + +PyObject * libvir_charPtrWrap(char *str) { PyObject *ret; |