Re: [PATCH] Changes to ext_skel for C++
| From: | J Smith | Date: | Mon, 02 Dec 2002 15:43:12 +0000 |
| Subject: | Re: [PATCH] Changes to ext_skel for C++ | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-92013@lists.php.net to get a copy of this message | ||
Or it could just not be there at all?
What the big deal here? It's four extra lines in ext_skel to get rid of it.
Besides, you can comment the hell out of it, write six pages of
documentation surrounded in /* */ if you want, you know there will be
people asking why there's C++ code in their C code. If my vision of the
future is in any way accurate, at least, which it may very well not be.
J
George Schlossnagle wrote:
> J Smith wrote:
>
>>That's what I was thinking. The new patch updates skeleton.c a bit and
>>fixes ext_skel to either add extern "C" stuff to skeleton.c or get rid of
>>it. I think it would be simpler for extension first-timers to not worry
>>about what __cplusplus means, or why extern "C" is there in the first
>>place, etc.
>>
>
> It could always be (horror of horrors) comemented in the code.
>