I Like that idea.

- Frank

> I think ZSTR(buf) should not be present in the macro:
> 
> #define php_stream_get_line(stream, buf, maxlen, retlen)
>    _php_stream_get_line((stream), IS_STRING, (buf), (maxlen), 0,
>    (retlen) TSRMLS_CC)
> 
> Let the caller apply ZSTR() to the argument manually, if that is
required.
> 
> --Wez.
> 
> On 4/24/06, Andrei Zmievski <[EMAIL PROTECTED]> wrote:
> >         #define php_stream_get_line(stream, buf, maxlen, retlen)
> > _php_stream_get_line((stream), IS_STRING, ZSTR(buf), (maxlen), 0,
> > (retlen) TSRMLS_CC)
> 

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to