RE: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_API.c
| From: | Wez Furlong | Date: | Tue, 18 May 2004 15:36:44 +0000 |
| Subject: | RE: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_API.c | ||
| References: | 1 | Groups: | php.zend-engine.cvs |
| Request: | Send a blank email to php-zend-engine-cvs+get-2648@lists.php.net to get a copy of this message | ||
I used the same coding style as the other module related code in dl.c.
I've also seen this macro (mis)used elsewhere in the source.
--Wez.
> -----Original Message-----
> From: Stanislav Malyshev [mailto:stas@zend.com]
> Sent: 18 May 2004 16:32
> To: Wez Furlong
> Cc: zend-engine-cvs@lists.php.net
> Subject: Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_API.c
>
> Isn't Z_TYPE_P macro meant for zvals?
>
> WF>>- if
> (module->module_startup_func(MODULE_PERSISTENT,
> module->module_number TSRMLS_CC)==FAILURE) {
> WF>>+ if
> (module->module_startup_func(Z_TYPE_P(module),
> module->module_number TSRMLS_CC)==FAILURE) {
> WF>> zend_error(E_CORE_ERROR,"Unable to
> start %s module", module->name);
> WF>> EG(current_module) = NULL;
> WF>> return FAILURE;
> WF>>
> WF>>
>
> --
> Stanislav Malyshev, Zend Products Engineer
> stas@zend.com http://www.zend.com/ +972-3-6139665 ext.115
>
> --
> Zend Engine CVS Mailing List (http://cvs.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>