On Mon, 27 Nov 2000, Dan Sugalski wrote: > --------------- > > int perl6_parse(PerlInterp *interp, > void *source, > int flags, > void *extra_pointer); > > The third parameter is the flags parameter, and it's optional. If omitted > or set to PERL_CHAR_SOURCE, the second parameter is treated as a standard > null-terminated string. If set to PERL_COUNTED_SOURCE, the second parameter > is treated as if it points to a stream of bytes, where the first four are > the length of the source to be read followed by the source. If set to Since you have a fourth argument couldn't that be used for the length of the byte stream rather than embedding that length into the byte stream itself? Makes more sense to me to separate the bytes from the length. -- Tim Jenness JCMT software engineer/Support scientist http://www.jach.hawaii.edu/~timj
- Re: The external interface for the pars... Dan Sugalski
- Re: The external interface for the parser piece Dan Sugalski
- Re: The external interface for the parser piece Tom Hughes
- Re: The external interface for the parser piece Nick Ing-Simmons
- Re: The external interface for the parser p... Dan Sugalski
- Re: The external interface for the pars... Tom Hughes
- Re: The external interface for the... Nick Ing-Simmons
- Re: The external interface for the pars... Nicholas Clark
- Re: The external interface for the... Chaim Frenkel
- Re: The external interface for the... Dan Sugalski
- Re: The external interface for the parser piece Tim Jenness
- Re: The external interface for the parser piece Dan Sugalski
- Re: The external interface for the parser piece Nicholas Clark
- Re: The external interface for the parser p... Dan Sugalski
- Re: The external interface for the pars... Nicholas Clark
- Re: The external interface for the... Jarkko Hietaniemi
- Re: The external interface for... Jarkko Hietaniemi
- Re: The external interface for... Dan Sugalski
- Re: The external interface for... Jarkko Hietaniemi
- Re: The external interface for... Dan Sugalski
- Re: The external interface for... Jarkko Hietaniemi