[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]