* 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:
Daniel Veillard 2006-08-04 13:36:07 +00:00
parent 7a8a63380f
commit d7815361f8
2 changed files with 8 additions and 2 deletions

View File

@ -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

View File

@ -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 *"),