mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
libxl: idl: use "dispose" rather than "destroy" for function to free IDL types
Destroy is an overloaded term which would commonly like to be used for actual destructive operations, such as destroying a domain etc. Dispose isn't a great term but it does the job. Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Acked-by: Ian Jackson <ian.jackson.citrix.com> Committed-by: Ian Jackson <ian.jackson.citrix.com>
This commit is contained in:
1 parent
1d2a876665
commit
9dcc52ddb6
13 files changed
+95
-95
No files matched your search
@@ -100,8 +100,8 @@ def py_attrib_set(ty, f):
|
||||
|
||||
def py_object_def(ty):
|
||||
l = []
|
||||
if ty.destructor_fn is not None:
|
||||
dtor = ' %s(&self->obj);\n'%ty.destructor_fn
|
||||
if ty.dispose_fn is not None:
|
||||
dtor = ' %s(&self->obj);\n'%ty.dispose_fn
|
||||
else:
|
||||
dtor = ''
|
||||
|
||||
|
||||