Re: [Libguestfs] [PATCH 3/3] daemon: autogenerate most of OCaml interfaces

2018-04-09 Thread Richard W.M. Jones
On Mon, Apr 09, 2018 at 04:06:32PM +0200, Pino Toscano wrote: > diff --git a/generator/daemon.ml b/generator/daemon.ml > index 7fb7052a0..03b191ac8 100644 > --- a/generator/daemon.ml > +++ b/generator/daemon.ml > @@ -490,6 +490,91 @@ let generate_daemon_caml_callbacks_ml () = >else > pr

[Libguestfs] [PATCH 3/3] daemon: autogenerate most of OCaml interfaces

2018-04-09 Thread Pino Toscano
Add a way to generate OCaml interfaces for a whilelist of modules in the daemon that implement APIs: this makes sure that for them the interface of each function matches the actual API specified in the generator. Only the modules specified in a list are generated for now, although this coverts