mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-11 09:17:52 +03:00
* python/generator.py: fix the generator when handling long integers
Dan Berrange reported problems due to this when using virDomainSetMemory bindings Daniel
This commit is contained in:
parent
7a8a63380f
commit
d7815361f8
@ -1,3 +1,9 @@
|
|||||||
|
Fri Aug 4 14:45:25 CEST 2006 Daniel Veillard <veillard@redhat.com>
|
||||||
|
|
||||||
|
* python/generator.py: fix the generator when handling long integers
|
||||||
|
Dan Berrange reported problems due to this when using
|
||||||
|
virDomainSetMemory bindings
|
||||||
|
|
||||||
Fri Aug 4 11:49:44 CEST 2006 Daniel Veillard <veillard@redhat.com>
|
Fri Aug 4 11:49:44 CEST 2006 Daniel Veillard <veillard@redhat.com>
|
||||||
|
|
||||||
* include/libvirt/libvirt.h include/libvirt/libvirt.h.in
|
* include/libvirt/libvirt.h include/libvirt/libvirt.h.in
|
||||||
|
@ -224,10 +224,10 @@ skipped_types = {
|
|||||||
py_types = {
|
py_types = {
|
||||||
'void': (None, None, None, None),
|
'void': (None, None, None, None),
|
||||||
'int': ('i', None, "int", "int"),
|
'int': ('i', None, "int", "int"),
|
||||||
'long': ('i', None, "int", "int"),
|
'long': ('l', None, "long", "long"),
|
||||||
'double': ('d', None, "double", "double"),
|
'double': ('d', None, "double", "double"),
|
||||||
'unsigned int': ('i', None, "int", "int"),
|
'unsigned int': ('i', None, "int", "int"),
|
||||||
'unsigned long': ('i', None, "int", "int"),
|
'unsigned long': ('l', None, "long", "long"),
|
||||||
'unsigned char *': ('z', None, "charPtr", "char *"),
|
'unsigned char *': ('z', None, "charPtr", "char *"),
|
||||||
'char *': ('z', None, "charPtr", "char *"),
|
'char *': ('z', None, "charPtr", "char *"),
|
||||||
'const char *': ('z', None, "charPtrConst", "const char *"),
|
'const char *': ('z', None, "charPtrConst", "const char *"),
|
||||||
|
Loading…
Reference in New Issue
Block a user