[Libguestfs] Code snippet to work out which RStruct/RStructList structs are used and how
Jim Meyering
jim at meyering.net
Fri Aug 14 18:58:22 UTC 2009
Richard W.M. Jones wrote:
> 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 ...
I chose the more generic name, but that's fine, too.
Adjusted. Will push as soon as you've pushed the prereq cset.
More information about the Libguestfs
mailing list