On Mon, Jul 30, 2012 at 6:30 PM, Zeeshan Ali (Khattak)
<[email protected]> wrote:
> From: "Zeeshan Ali (Khattak)" <[email protected]>
>
> We create struct and a free function each time we need to pass a simple
> unsigned integer to an async function. Code can be simplified if we
> don't do that but rather use glib's API to convert to/from uint to
> pointer.
>
> This patch only changes this for one of these functions. I'll change
> other functions when/if there is a consensus on this..

Personally, I prefer consistency with the rest of the async functions,
and I often found myself replacing GUINT_TO_POINTER "trick" with a
real pointer to a structure that can be extended.


-- 
Marc-André Lureau

--
libvir-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to