Re: [RFC] Throwable Interface

From: Date: Mon, 15 Jun 2015 21:48:18 +0000
Subject: Re: [RFC] Throwable Interface
References: 1 2 3 4 5 6 7 8 9 10 11 12  Groups: php.internals 
Request: Send a blank email to internals+get-86686@lists.php.net to get a copy of this message
> On Jun 15, 2015, at 9:53 AM, Dmitry Stogov <dmitry@zend.com> wrote: > > On Mon, Jun 15, 2015 at 4:55 PM, Aaron Piotrowski <aaron@icicle.io > <mailto:aaron@icicle.io>> wrote: > >> >> On Jun 15, 2015, at 6:56 AM, Anatol Belski <anatol.php@belski.net >> <mailto:anatol.php@belski.net>> wrote: >> >> Would you like me to move zend_ce_throwable to zend_exceptions.h/c or is >> that >> something you’d take care of after the merge? >> > > I don't care about this a lot. I just think it's better. > If you don’t see any problems, please, move the code. > Moving the definition of zend_ce_throwable to zend_exceptions.h/c requires either: 1. Moving #define REGISTER_ITERATOR_INTERFACE from zend_interfaces.c to zend_interfaces.h so it is available in zend_exceptions.c (I could take the opportunity to rename this macro to REGISTER_INTERFACE). 2. Defining a macro in zend_exceptions.c that is identical to REGISTER_ITERATOR_INTERFACE. Which option sounds better? Aaron Piotrowski

« previous php.internals (#86686) next »