[libvirt] proposal: allow use of "bool": HACKING: discuss C types

Richard W.M. Jones rjones at redhat.com
Mon Jan 12 18:18:39 UTC 2009


On Wed, Dec 17, 2008 at 09:08:36PM +0000, Daniel P. Berrange wrote:
> Ok, if you want to re-post the HACKING file also mentioning that
> 'bool' shouldn't be used in our public APIs & wire protocol,

What's wrong with using it in the wire protocol?  XDR provides bool_t
(as int) and converts 'bool' in the interface definition to bool_t.

Rich.

-- 
Richard Jones, Emerging Technologies, Red Hat  http://et.redhat.com/~rjones
Read my OCaml programming blog: http://camltastic.blogspot.com/
Fedora now supports 68 OCaml packages (the OPEN alternative to F#)
http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora




More information about the libvir-list mailing list