X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=generator%2Fgenerator_ocaml.ml;fp=generator%2Fgenerator_ocaml.ml;h=3bdba68fe8be20451e74012e0c6c095a0d0423d0;hp=483d65a28a7213dae93b22c33ff8fb2d644b8bec;hb=63bfcdbdd81b81e6a8e2157de36f9e1638801570;hpb=6af1cd7245de0183404ea6aadda4c2f63f9f616b;ds=sidebyside diff --git a/generator/generator_ocaml.ml b/generator/generator_ocaml.ml index 483d65a..3bdba68 100644 --- a/generator/generator_ocaml.ml +++ b/generator/generator_ocaml.ml @@ -102,6 +102,9 @@ val clear_progress_callback : t -> unit it offers exactly the same functionality. Calling [new guestfs ()] creates both the object and the handle. + The object and handle are closed either implicitly when the + object is garbage collected, or explicitly by calling the [g#close ()] + method. Note that methods that take no parameters (except the implicit handle) get an extra unit [()] parameter. This is so you can create a