On Tue, Jan 16, 2018 at 10:56:25AM -0600, Eric Blake wrote: > Is it worth using 'bool' instead of 'int' where we are really using a > truth value? We can't change the nbdkit-plugin.h API (well, at least > not without plugins opting in), but the new stuff (including filters) > could be sane from the get-go instead of overloading int.
I wonder if there's any point to changing these to bool. It'll mean that internal APIs use unnecessarily different types, and I don't know what the advantages are. Of course it might have been better if we'd used bool from the start ... Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com libguestfs lets you edit virtual machines. Supports shell scripting, bindings from many languages. http://libguestfs.org _______________________________________________ Libguestfs mailing list [email protected] https://www.redhat.com/mailman/listinfo/libguestfs
