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> | 2010-12-30 23:08:18 +0000 |
commit | 33e9639f2037540a89a9bbaf7212683e8a60fe84 (patch) | |
tree | bd69985d6bf46e4ed73e912b489f8686f333bd00 /src | |
parent | cdc798ac3558e416dc756a0fcefad2af5ca307e0 (diff) | |
download | libguestfs-33e9639f2037540a89a9bbaf7212683e8a60fe84.tar.gz libguestfs-33e9639f2037540a89a9bbaf7212683e8a60fe84.tar.xz libguestfs-33e9639f2037540a89a9bbaf7212683e8a60fe84.zip |
docs: Refresh programming language equivalence example in guestfs(3).
Diffstat (limited to 'src')
-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 |