diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2010-12-30 23:08:18 +0000 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2011-01-10 09:39:06 +0000 |
commit | e16eb8b673704154c2edfa656a58e9f703fbdb01 (patch) | |
tree | 08e6d1a804f4f6e33599967cfc9e958368d8d188 | |
parent | d4eb238577a12efb8939ed5372de8682dcaf6481 (diff) | |
download | libguestfs-e16eb8b673704154c2edfa656a58e9f703fbdb01.tar.gz libguestfs-e16eb8b673704154c2edfa656a58e9f703fbdb01.tar.xz libguestfs-e16eb8b673704154c2edfa656a58e9f703fbdb01.zip |
docs: Refresh programming language equivalence example in guestfs(3).
(cherry picked from commit 33e9639f2037540a89a9bbaf7212683e8a60fe84)
-rw-r--r-- | src/guestfs.pod | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/guestfs.pod b/src/guestfs.pod index 9be11222..5d26cd3b 100644 --- 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 -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 |