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.h
Log:
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
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php