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