FROM : David Dunham
DATE : Sun Nov 21 22:40:44 2004
On 20 Nov 2004, at 14:36, Joey Coyle wrote:
> What is CGDirectDisplayID? How you can you subtract 1 from it.
>
> #define INVALID_DISPLAY (CGDirectDisplayID)-1
Others have explained how to search, but...
Since this is C, it's clearly a C type, and being used to cast -1 for a
small degree of type safety. No subtraction is going on.
David Dunham
A Sharp, LLC
DATE : Sun Nov 21 22:40:44 2004
On 20 Nov 2004, at 14:36, Joey Coyle wrote:
> What is CGDirectDisplayID? How you can you subtract 1 from it.
>
> #define INVALID_DISPLAY (CGDirectDisplayID)-1
Others have explained how to search, but...
Since this is C, it's clearly a C type, and being used to cast -1 for a
small degree of type safety. No subtraction is going on.
David Dunham
A Sharp, LLC
| Related mails | Author | Date |
|---|---|---|
| Joey Coyle | Nov 20, 23:36 | |
| Markus Spath | Nov 21, 01:07 | |
| Joey Coyle | Nov 21, 02:51 | |
| Nick Zitzmann | Nov 21, 06:30 | |
| Ben Dougall | Nov 21, 13:22 | |
| Joey Coyle | Nov 21, 17:02 | |
| Nick Zitzmann | Nov 21, 18:06 | |
| David Dunham | Nov 21, 22:40 | |
| Joey Coyle | Nov 22, 00:30 | |
| David Dunham | Nov 24, 01:36 |






Cocoa mail archive

