This cleans up the existing code base with regards to implicit
use of errno from language bindings, then rebases the previous
work in python on top of that.
I'm still playing with the perl bindings, but got further after
reading 'perldoc perlembed'.
Eric Blake (4):
plugins: Don't use bogus errno from non-C plugins
plugins: Add new nbdkit_set_error() utility function
python: Expose nbdkit_set_error to python script
python: Support zero callback
docs/nbdkit-plugin.pod | 64 +++++++++++++++++++++++----
include/nbdkit-plugin.h | 14 +++++-
plugins/ocaml/nbdkit-ocaml-plugin.pod | 11 +++++
plugins/ocaml/ocaml.c | 12 ++++++
plugins/perl/nbdkit-perl-plugin.pod | 5 +++
plugins/perl/perl.c | 12 ++++++
plugins/python/example.py | 11 +++++
plugins/python/nbdkit-python-plugin.pod | 53 +++++++++++++++++++++--
plugins/python/python.c | 76 +++++++++++++++++++++++++++++++++
plugins/ruby/nbdkit-ruby-plugin.pod | 5 +++
plugins/ruby/ruby.c | 12 ++++++
src/connections.c | 36 ++++++++++++----
src/errors.c | 6 +++
src/internal.h | 4 ++
src/plugins.c | 25 ++++++++++-
src/tls.c | 30 ++++++++++++-
16 files changed, 349 insertions(+), 27 deletions(-)
--
2.9.3