[Libguestfs] Code snippet to work out which RStruct/RStructList structs are used and how

Richard W.M. Jones rjones at redhat.com
Fri Aug 14 18:29:53 UTC 2009


On Fri, Aug 14, 2009 at 07:46:25PM +0200, Jim Meyering wrote:
> +  let emit_print_list_function typ =
> +    pr "static PyObject *\n";
> +    pr "put_%s_list (struct guestfs_%s_list *%ss)\n" typ typ typ;

Actually I guess the OCaml function should be called
emit_put_list_function ...

Rich.

-- 
Richard Jones, Emerging Technologies, Red Hat  http://et.redhat.com/~rjones
New in Fedora 11: Fedora Windows cross-compiler. Compile Windows
programs, test, and build Windows installers. Over 70 libraries supprt'd
http://fedoraproject.org/wiki/MinGW http://www.annexia.org/fedora_mingw




More information about the Libguestfs mailing list