1
0
mirror of https://gitlab.com/libvirt/libvirt-python.git synced 2025-08-03 08:21:58 +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:
Daniel Veillard
2006-08-04 13:36:07 +00:00
parent 3891a6500b
commit 9eb77d45c2

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