Re: cvs: ZendEngine2 / zend_operators.c zend_operators.h
| From: | Andrei Zmievski | Date: | Sat, 16 Dec 2006 00:24:06 +0000 |
| Subject: | Re: cvs: ZendEngine2 / zend_operators.c zend_operators.h | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-27013@lists.php.net to get a copy of this message | ||
Now that that's done, what do we do with macros like this?
#define convert_to_ex_master(ppzv, lower_type, upper_type) \
if (Z_TYPE_PP(ppzv)!=IS_##upper_type) { \
SEPARATE_ZVAL_IF_NOT_REF(ppzv); \
convert_to_##lower_type(*ppzv); \
}
How do we get the SUCCESS/FAILURE out of them? One option is to create another macro with an extra 'retval' parameter that gets filled in...
-Andrei
On Dec 15, 2006, at 4:21 PM, Andrei Zmievski wrote:
andrei Sat Dec 16 00:21:41 2006 UTC Modified files:/ZendEngine2 zend_operators.c zend_operators.hLog: Make convert_to_*() APIs return SUCCESS/FAILURE. <andrei-20061216002141.txt>-- Zend Engine CVS Mailing List (http://cvs.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php