git.annexia.org
/
libguestfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6af1cd7
)
ocaml: Document g#close () method for objects.
author
Richard W.M. Jones
<rjones@redhat.com>
Mon, 4 Oct 2010 19:33:14 +0000
(20:33 +0100)
committer
Richard W.M. Jones
<rjones@redhat.com>
Mon, 4 Oct 2010 19:33:14 +0000
(20:33 +0100)
generator/generator_ocaml.ml
patch
|
blob
|
history
diff --git
a/generator/generator_ocaml.ml
b/generator/generator_ocaml.ml
index
483d65a
..
3bdba68
100644
(file)
--- 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