[PATCH] Changes to ext_skel for C++
| From: | J Smith | Date: | Fri, 29 Nov 2002 18:29:44 +0000 |
| Subject: | [PATCH] Changes to ext_skel for C++ | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-91934@lists.php.net to get a copy of this message | ||
Attached is a patch to ext_skel that adds an optional argument (--cpp) that
will create a PHP extension in C++ rather than C. Also attached is
skeleton.cpp, which basically mirrors ext/skeleton/skeleton.c with a few
modifications for using C++. I could've just made some changes to
skeleton.c and done some sed work in the ext_skel script, but I think it's
clearer to have them separated into two files.
The ext_skel patch is based on the current HEAD.
Comments?
J
Attachment: [text/x-diff] ext_skel.patch
Attachment: [text/x-c++src] skeleton.cpp
Attachment: [text/x-diff] ext_skel.patch
Attachment: [text/x-c++src] skeleton.cpp