Re: Call ZEND_FUNCTION in Zend_API
| From: | Thies C. Arntzen | Date: | Wed, 11 Oct 2000 19:07:30 +0000 |
| Subject: | Re: Call ZEND_FUNCTION in Zend_API | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-34792@lists.php.net to get a copy of this message | ||
On Tue, Oct 10, 2000 at 01:00:01PM +0200, Andre Christ wrote:
> I createt a extension for PHP which contains a few functions, implemented as
> ZEND_FUNCTION(test) {
> zend_printf("Hello World");
> }
>
> >From another function I'd like to call this function:
>
> ZEND_FUNCTION(test2) {
zend_if_test(INTERNAL_FUNCTION_PARAM_PASSTHRU);
is your friend. grep for INTERNAL_FUNCTION_PARAM_PASSTHRU in
ext/*/*.c to see how it's used in other places.
tc
> // call test()
> }
>
> How do I call functions which are implemeted in my extension ?
>
> Thanks
> Andre
>
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
> For additional commands, e-mail: php-dev-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>