[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]

Re: Newer xsubpp



On Sun, Jan 23, 2000 at 10:30:36AM +0000, Tim Bunce wrote:
> > Since this looks like just syntactic sugar over what XS already
> > provides, it may be worth writing this as a preprocessor that emits
> > the equivalent XS code.
> 
> I'm really not very comfortable with pure out values being specified in
> the prototype. It's unnatural and ambiguous. Bound to cause confusion.
> They should be specified elsewhere.

One should think of the prototype as of the description of C API.  You
probably think of it as of the description of Perl API.  [This
difference - as many others - is not stressed out in xsubpp documentation.]

Think of prior art too.  Think IDL.

Ilya


Follow-Ups from:
Tim Bunce <Tim.Bunce@ig.co.uk>
References to:
Ilya Zakharevich <ilya@math.ohio-state.edu>
Gurusamy Sarathy <gsar@ActiveState.com>
Tim Bunce <Tim.Bunce@ig.co.uk>

[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]