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


Reply via email to