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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user