> > ... but I'm wondering about something I'm seeing in Foster's source.
> >
> > #ifdef __GNUC__
> > CALLBACK_PROLOGUE;
> > #endif
> > ...
> > #ifdef __GNUC__
> > CALLBACK_EPILOGUE;
> > #endif
> >
> > I'm using Metrowerks' Codewarrior so I'm not worrying about
> > adding this GNU C specific in here, but I'm curious as to what it does.
>
> You don't need it for CodeWarrior. It's there because GCC uses a different
> calling convention than the Palm OS does. To write a Palm app with GCC, you
> used to (I say "used to" because I don't use GCC and it's possible they've
> changed this now) have to #include Callback.h in your project and use the
> CALLBACK_PROLOGUE and CALLBACK_EPILOGUE whenever a GCC app calls a Palm OS
> function that either directly or indirectly calls back to a GCC function.
you dont need it for GCC either.. just upgrade to prc-tools 2.0 :)
it was only required for prc-tools 0.5.0
:P
// az
[EMAIL PROTECTED]
http://www.ardiri.com/ <--- free games!
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/