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:
cdc798a
)
docs: Refresh programming language equivalence example in guestfs(3).
author
Richard W.M. Jones
<rjones@redhat.com>
Thu, 30 Dec 2010 23:08:18 +0000
(23:08 +0000)
committer
Richard W.M. Jones
<rjones@redhat.com>
Thu, 30 Dec 2010 23:08:18 +0000
(23:08 +0000)
src/guestfs.pod
patch
|
blob
|
history
diff --git
a/src/guestfs.pod
b/src/guestfs.pod
index
9be1122
..
5d26cd3
100644
(file)
--- a/
src/guestfs.pod
+++ b/
src/guestfs.pod
@@
-675,9
+675,9
@@
Although we don't want to discourage you from using the C API, we will
mention here that the same API is also available in other languages.
The API is broadly identical in all supported languages. This means
mention here that the same API is also available in other languages.
The API is broadly identical in all supported languages. This means
-that the C call C<guestfs_
mount(g,path
)> is
-C<$g-E<gt>
mount($path)> in Perl, C<g.mount(path
)> in Python,
-and C<
Guestfs.mount g path
> in OCaml. In other words, a
+that the C call C<guestfs_
add_drive_ro(g,file
)> is
+C<$g-E<gt>
add_drive_ro($file)> in Perl, C<g.add_drive_ro(file
)> in Python,
+and C<
g#add_drive_ro file
> in OCaml. In other words, a
straightforward, predictable isomorphism between each language.
Error messages are automatically transformed
straightforward, predictable isomorphism between each language.
Error messages are automatically transformed