mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-10-29 16:25:07 +03:00
Fixup python binding for virDomainSnapshot APIs
The generator code was totally wrong for the virDomainSnapshot APIs, not generating the wrapper class, and giving methods the wrong names * generator.py: Set metadata for virDomainSnapshot type & APIs * libvirt-override-api.xml, libvirt-override.c: Hand-code the virDomainSnapshotListNames glue layer
This commit is contained in:
committed by
Daniel Veillard
parent
f3e098f3d8
commit
90302e7f8d
@@ -243,5 +243,11 @@
|
||||
<arg name='xmlCPUs' type='const char **' info='array of XML descriptions of host CPUs'/>
|
||||
<arg name='flags' type='unsigned int' info='fine-tuning flags, currently unused, pass 0.'/>
|
||||
</function>
|
||||
<function name='virDomainSnapshotListNames' file='python'>
|
||||
<info>collect the list of snapshots for the given domain</info>
|
||||
<arg name='dom' type='virDomainPtr' info='pointer to the domain'/>
|
||||
<arg name='flags' type='unsigned int' info='flags, curently unused'/>
|
||||
<return type='str *' info='the list of Names of None in case of error'/>
|
||||
</function>
|
||||
</symbols>
|
||||
</api>
|
||||
|
||||
Reference in New Issue
Block a user