Hi!

> +typedef enum {
> +  SUCCESS =  0,
> +  FAILURE = -1,              /* this MUST stay a negative number, or it may 
> affect functions! */
> +} RESULT_CODE;

If you use a type here, I'd suggest using zend_ prefix since otherwise
you just stomp on another (frequently used) global symbol.


-- 
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to