[libdispatch-dev] [PATCH 12/17] extract source-type-specific initialization to per-type functions
Robert Watson
robert at fledge.watson.org
Sat Oct 31 03:56:57 PDT 2009
On Sun, 18 Oct 2009, Paolo Bonzini wrote:
> As a first step towards eliminating struct kevent from source.c, some of the
> initialization is moved to separate functions. This introduces a
> per-source-type function pointer that is called when creating a source.
>
> The code is not 100% equal, but the only difference is that an
> assertion is delayed to after the full initialization---which is
> arguably better.
I've merged this as r73, thanks! The only changes I made were to adopt
something a bit closer to the house style.
Robert N M Watson
Computer Laboratory
University of Cambridge
More information about the libdispatch-dev
mailing list