mirror of https://gitee.com/openkylin/libvirt.git
* 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>
|
||||
|
||||
* include/libvirt/libvirt.h include/libvirt/libvirt.h.in
|
||||
|
|
|
@ -224,10 +224,10 @@ skipped_types = {
|
|||
py_types = {
|
||||
'void': (None, None, None, None),
|
||||
'int': ('i', None, "int", "int"),
|
||||
'long': ('i', None, "int", "int"),
|
||||
'long': ('l', None, "long", "long"),
|
||||
'double': ('d', None, "double", "double"),
|
||||
'unsigned int': ('i', None, "int", "int"),
|
||||
'unsigned long': ('i', None, "int", "int"),
|
||||
'unsigned long': ('l', None, "long", "long"),
|
||||
'unsigned char *': ('z', None, "charPtr", "char *"),
|
||||
'char *': ('z', None, "charPtr", "char *"),
|
||||
'const char *': ('z', None, "charPtrConst", "const char *"),
|
||||
|
|
Loading…
Reference in New Issue