On Fri, Dec 26, 2014 at 8:33 AM, Michael Wallner <m...@php.net> wrote:
> There's already ZEND_RESULT_CODE, or did I miss anything?

Yes, to read the thread :)

We are not talking about the lack of a status typedef but about the
inconsistencies across PHP internal APIs. And what Xinchen suggests
below is to begin by changing the functions signature from int to
status (aka ZEND_RESULT_CODE, see my previous code example) as a 1st
step.Functions returning 0/1/-1 themselves can be changed as a 2nd
step.

> On 25 Dec 2014 06:45, "Xinchen Hui" <larue...@php.net> wrote:

>> we can change these functions which use success/failure return
>> zend_status instead of int first.

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to