Re: ext_skel and php_<extname>.c vs. <extname>.c
| From: | Stig S. Bakken | Date: | Sat, 21 Jul 2001 23:19:09 +0000 |
| Subject: | Re: ext_skel and php_<extname>.c vs. <extname>.c | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-60495@lists.php.net to get a copy of this message | ||
Jon Parise wrote:
>
> On Thu, Jul 19, 2001 at 05:50:42PM -0600, Joey Smith wrote:
>
> > I had thought the decision was that php_<extname>.c was the correct way
> > to name the .c file for an extension, so that we are less likely to
> > conflict with any files from the package itself?
> >
> > ext_skel creates a .c file using the bare extname.
>
> I thought that convention only applied to the header files.
So did I, but practices seem to differ. I find it very handy for
auto-completion that the header file name always starts with "php_"
(unless the extension is called P-something of course).
- Stig