Re: Tutorial: adapted API parts

[email protected] (Nick Ing-Simmons)
Newsgroups perl.loop
Message-ID <E143PdV-0001EF-00@roam1>
Joshua N Pritikin <[email protected]> writes:
>
>OK.  Does anyone oppose changing the C callback from:
>
>(* (void(*)(void*,pe_event*)) ev->callback)(ev->ext_data, ev);
>
>To:
>
>(* (void(*)(pe_event*,void*)) ev->callback)(ev, ev->ext_data);
>
>?

I prefer the latter - it makes it more method-call-like.

-- 
Nick Ing-Simmons
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.