[Libguestfs] [nbdkit PATCH 0/2] bind .zero to more languages

Eric Blake eblake at redhat.com
Tue Jan 24 03:13:23 UTC 2017


Begin the language binding followups to my new .zero callback, since
Rich was indeed correct that we want them.

I'm more familiar with python and perl (at least to the point that
I was able to modify the appropriate example files and prove to
myself that the bindings worked), so I've started with those.
I'm less familiar with ruby and ocaml, so I've left those for
tomorrow (it will rely heavily on copy-and-paste); it is also a
chance to review if my decision of requiring a return value in
order to trigger the graceful fallback is the best approach.

Eric Blake (2):
  perl: Support zero callback
  python: Support zero callback

 plugins/perl/nbdkit-perl-plugin.pod     | 25 ++++++++++++++++++++++
 plugins/perl/perl.c                     | 37 +++++++++++++++++++++++++++++++++
 plugins/python/nbdkit-python-plugin.pod | 18 ++++++++++++++++
 plugins/python/python.c                 | 35 +++++++++++++++++++++++++++++++
 4 files changed, 115 insertions(+)

-- 
2.9.3




More information about the Libguestfs mailing list