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