Re: Tutorial: adapted API parts

2000-12-05 Thread Brian Ingerson
Joshua N Pritikin wrote: > > > > I just read C code produced by Inline and found that - correct me if > > I'm wrong - it just builds a wrapper around a C function. > > Oh! Indeed it does. Hm hm. I've been avoiding commenting on this thread, because these are Event issues, and as long as Inline

Re: Tutorial: adapted API parts

2000-12-05 Thread Nick Ing-Simmons
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

Re: Tutorial: adapted API parts

2000-12-05 Thread Joshua N Pritikin
On Mon, Dec 04, 2000 at 10:38:09PM +0100, [EMAIL PROTECTED] wrote: > >For what it's worth, we could make the APIs *appear* the same. > > That's what I meant - just simplifying the interface by making it more > general. > > >However, > >the programmer still needs to decide how the callback will b