Re: Re: cvs: php4 / php.ini-dist php.ini-recommended /ext/tokenizer
| From: | Markus Fischer | Date: | Sat, 09 Feb 2002 13:13:14 +0000 |
| Subject: | Re: Re: cvs: php4 / php.ini-dist php.ini-recommended /ext/tokenizer | ||
| References: | 1 2 3 4 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-79815@lists.php.net to get a copy of this message | ||
On Sat, Feb 09, 2002 at 10:33:35AM +0100, Sebastian Bergmann wrote :
> Markus Fischer wrote:
> > You don't need (and shouldn't) call TSRMLS_FETCH() here.
> > Declaring tokenizer() having a TSRMLS_DC and passing
> > TSRMLS_CC when calling it should be sufficient.
>
> Stupid me, of course. The patch below fixes all compiler errors and
> warnings. However, I now get a linkage error due to an unresolved
> external symbol: _lex_scan.
It is not publicly exposed with ZEND_API(). I can't test
right now, but maybe just need to modify the zend_compile.h
file and prepend the prototype definition with ZEND_API ?
- Markus