Linke, Andreas <[EMAIL PROTECTED]> wrote:
> I've been programming Palm OS for 7 years now, but I can't remember
> such a radical change. There seems to be no attempt at compatibility,
> neither binary nor in source.
It seems to me that one summary of the things you've noted is "this is a
new operating system".
> And, apparently just for fun, they've changed all the type names again
> (e.g. UInt32 becomes uint32_t).
There's nothing too exciting about these names; the idea is pretty
trivial and any idiot could define a set of them for their own Palm OS
application. The advantage in having them supplied to you is that it
creates a common vocabulary that we all use. Using UInt32 etc supplied
by a Palm OS SDK means that all the Palm OS programmers share a common
vocabulary. Using uint32_t etc, which are defined by the C99 language
standard, means that all C programmers [1] can share a common vocabulary.
Or, put another way, by using uint32_t etc on Palm OS we're sharing the
vocabulary that all the other C programmers are (or [c|sh]ould be) using.
This change is a Good Thing IMHO.
(BTW a <stdint.h> has also been supplied by prc-tools since version 2.3.)
However, I still think that it's unfortunate that they're still so
heavily used on Palm OS; see also
http://escribe.com/computing/pcpqa/m59451.html
John
[1] potentially; certainly all C99 programmers
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/