1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2025-11-20 20:25:59 +03:00

* python/*: update of the python bindings, fix names, add

missing features like list of domains and domain info extraction
Daniel
This commit is contained in:
Daniel Veillard
2006-01-31 10:24:12 +00:00
parent ca586e5a80
commit b6022c2ad3
8 changed files with 118 additions and 4 deletions

View File

@@ -33,6 +33,18 @@ libvir_longWrap(long val)
return (ret);
}
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)
{