Re: Event seems to break it's C API

2004-05-14 Thread pcg
On Fri, May 14, 2004 at 06:59:25PM +0530, Joshua N Pritikin <[EMAIL PROTECTED]> wrote: > On Thu, May 13, 2004 at 06:08:01PM +0200, Marc A. Lehmann wrote: > > Hi, with the current release of Event my programs start to fail with > > this error message: > > > >Event: attempt to invoke now() met

Re: Event seems to break it's C API

2004-05-14 Thread Joshua N Pritikin
On Thu, May 13, 2004 at 06:08:01PM +0200, Marc A. Lehmann wrote: > Hi, with the current release of Event my programs start to fail with > this error message: > >Event: attempt to invoke now() method with callback unset on watcher >'??' at Event/t/00_basic.t line 13 Wow, I must have been

Event seems to break it's C API

2004-05-14 Thread pcg
Hi, with the current release of Event my programs start to fail with this error message: Event: attempt to invoke now() method with callback unset on watcher '??' at Event/t/00_basic.t line 13 I do, however, set the callback exactly as specified in the Event::MakeMaker manpage: /*

Re: C api

2000-12-05 Thread Brian Ingerson
Joshua N Pritikin wrote: > > > pretty straightforward and the wrapper is pretty thin. Anybody writing > > *straightforward* XS would do it pretty much the same way as Inline. > > Not necessarily. Inline uses a peculiar style which exposes both entry > points. For example, it generates code lik

Re: C api

2000-12-05 Thread Joshua N Pritikin
On Tue, Dec 05, 2000 at 09:34:27PM +0100, [EMAIL PROTECTED] wrote: > >i wasn't and am not considering performance at any point in this thread. > >The concern here is whether the C & Perl APIs can match, from the point > >of view of the naive developer. > > And for this match it is an advantage th

Re: C api

2000-12-05 Thread Jochen Stenzel
>i wasn't and am not considering performance at any point in this thread. >The concern here is whether the C & Perl APIs can match, from the point >of view of the naive developer. And for this match it is an advantage that Inline wraps around the complete call so that we finally have both the wr

Re: C api

2000-12-05 Thread Joshua N Pritikin
On Tue, Dec 05, 2000 at 11:34:14AM -0800, [EMAIL PROTECTED] wrote: > 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 avoidi