Re: [PATCH] New changes to ext_skel for C++
| From: | J Smith | Date: | Mon, 02 Dec 2002 15:32:39 +0000 |
| Subject: | Re: [PATCH] New changes to ext_skel for C++ | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-92012@lists.php.net to get a copy of this message | ||
For the second instance where extern "C" is used, that would be possible,
but in the first instance, BEGIN/END_EXTERN_C() aren't defined yet, as
they're in zend.h. The compiler would totally barf.
I had used BEGIN/END_EXTERN_C() in the first patch I sent out, but decided
to use one or the other in this one for the sake of consistency.
J
Zeev Suraski wrote:
> Why not just use BEGIN_EXTERN_C() and END_EXTERN_C()?
>
> Zeev
>