On Mon, Nov 27, 2000 at 05:29:36PM -0500, Dan Sugalski wrote:
> int perl6_parse(PerlInterp *interp,
> void *source,
> int flags,
> void *extra_pointer);
Count me in with the people who prefer:
int perl6_parse(PerlInterp *interp, PerlIO *io);
I understand the desire to reduce the number of API bits the external
user needs to know about, but I think that the non-PerlIO API will
lead to more complexity than it removes.
Assuming the non-PerlIO interface is used, however, I believe there
is a problem with the PERL_GENERATED_SOURCE option. ANSI/ISO C does
not guarantee that a function pointer may be stored in a void*.
I would suggest that Perl's external APIs, at the very least, should
conform to standard C.
- Damien
- Re: The external interface for ... Tim Bunce
- Re: The external interface for the parser piece Chaim Frenkel
- Re: The external interface for the parser piece Dan Sugalski
- Re: The external interface for the parser piece Steve Fink
- Re: The external interface for the parser piece Bryan C. Warnock
- Re: The external interface for the parser piece Dave Storrs
- Re: The external interface for the parser piece Dan Sugalski
- Re: The external interface for the parser piece Dave Storrs
- Re: The external interface for the parser pi... Dan Sugalski
- Re: The external interface for the parser piece Simon Cozens
- Re: The external interface for the parser piece Damien Neil
- Re: The external interface for the parser piece Nicholas Clark
- Re: The external interface for the parser piece Dan Sugalski
