Re: Lowercase or camelcase function names?
| From: | Johannes Schlüter | Date: | Sat, 12 Nov 2011 01:02:55 +0000 |
| Subject: | Re: Lowercase or camelcase function names? | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-8857@lists.php.net to get a copy of this message | ||
On Tue, 2011-11-08 at 02:28 +0100, Johannes Findeisen wrote:
>
> The definition of "LONG" is in the same file. The first definition was
> for __APPLE__ :/ I found this for "else" OS's:
>
> typedef long LONG;
That is fine, the int32_t on Windows is fine, too. One thing one might
think about for making the code clear is try to separate LONG-usage in
pcsc context from long in PHP context and probably using explicit
(long) /(LONG) casts. But I'm not sure whether, in this case, it helps
reading the code or makes it worse.
johannes