aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxl/idl.txt
diff options
context:
space:
mode:
authorIan Campbell <ian.campbell@citrix.com>2011-10-18 10:35:55 +0100
committerIan Campbell <ian.campbell@citrix.com>2011-10-18 10:35:55 +0100
commit9dcc52ddb640328147d58ddf53241ad9617c57de (patch)
tree228d2298a7a6e8786e55ae1e50ed47ec9739a856 /tools/libxl/idl.txt
parent1d2a87666556e7c3d483ab62f9159dc36bbf6614 (diff)
downloadxen-9dcc52ddb640328147d58ddf53241ad9617c57de.tar.gz
xen-9dcc52ddb640328147d58ddf53241ad9617c57de.tar.bz2
xen-9dcc52ddb640328147d58ddf53241ad9617c57de.zip
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>
Diffstat (limited to 'tools/libxl/idl.txt')
-rw-r--r--tools/libxl/idl.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/libxl/idl.txt b/tools/libxl/idl.txt
index 8c9a32364d..e9c2956b77 100644
--- a/tools/libxl/idl.txt
+++ b/tools/libxl/idl.txt
@@ -39,14 +39,14 @@ Type.passby: (default: libxltypes.PASS_BY_VALUE)
libxltypes.PASS_BY_VALUE
libxltypes.PASS_BY_REFERENCE
-Type.destructor_fn: (default: typename + "_destroy" or None if type == None)
+Type.dispose_fn: (default: typename + "_dispose" or None if type == None)
The name of the C function which will free all dynamically allocated
memory contained within this type (but not the type itself).
-Type.autogenerate_destructor: (default: True)
+Type.autogenerate_dispose_fn: (default: True)
- Indicates if the above named Type.destructor_fn should be
+ Indicates if the above named Type.dispose_fn should be
autogenerated.
Type.json_fn: (default: typename + "_gen_json" or None if type == None)