[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Embedded GNUstep - new rumours about embedded MacOS X and call for s
From: |
Richard Frith-Macdonald |
Subject: |
Re: Embedded GNUstep - new rumours about embedded MacOS X and call for support |
Date: |
Sun, 24 Dec 2006 10:00:31 +0000 |
On 24 Dec 2006, at 09:30, Fred Kiefer wrote:
Richard, for this I would need the declaration of a version MacOS
10.4,
how does this look like? I only found GS_API_MACOSX. I thing, we
should
have symbol similar to the ones Apple is using and have them on the
same
detail level.
I haven't bothered adding specific symbols for different versions,
since the symbols evaluate to six digit numeric constants anyway
(where each pair of digits is a version number ... major,minor, and
subminor). So version 10.4 is 100400, 10.4.1 is 100401 etc
So if you write
#if OS_API_VERSION(100400, GS_API_LATEST)
// declarations here
#endif
All your declarations will be seen unless a programmer builds with
GS_OPENSTEP_V set to a version earlier than 100400, and the generated
documentation will tell you that your declarations are compatible
with MacOS-X 10.4.0 onwards.
See http://www.gnustep.org/resources/documentation/Developer/Base/
Reference/index.html for more details.
Anyway, there is no problem adding more preprocessor constants rather
than using the numeric values if you want ... we just put them in
GSVersionMacros.h
I I guess we could use
#define GS_API_MACOSX_4_2 100402
or perhaps copy Apple with
#define MAC_OS_X_VERSION_10_4_2 100402
- Embedded GNUstep - new rumours about embedded MacOS X and call for support, address@hidden, 2006/12/21
- Re: Embedded GNUstep - new rumours about embedded MacOS X and call for support, Richard Frith-Macdonald, 2006/12/23
- Re: Embedded GNUstep - new rumours about embedded MacOS X and call for support, Fred Kiefer, 2006/12/24
- Re: Embedded GNUstep - new rumours about embedded MacOS X and call for support, Matt Rice, 2006/12/24
- Re: Embedded GNUstep - new rumours about embedded MacOS X and call for support, Richard Frith-Macdonald, 2006/12/24
- Re: Embedded GNUstep - new rumours about embedded MacOS X and call for support, Fred Kiefer, 2006/12/24
- Re: Embedded GNUstep - new rumours about embedded MacOS X and call for support, Graham J Lee, 2006/12/27