Basically a "branch island" (or "jump island") is one way to overcome the
32k limit on calls between functions.

You create an "island" which is simply a function that calls your final
destination function (which is more than 32k away from the original caller).
Becase you are getting there in 2 steps (each less than 32k) you avoid the
problem.

However, you end up with other problems - the nastiest of which is simply
maintaining your code as it grows.

I could go on, but I know this has all been discussed many times before...
check the archives.


Gavin.

George Bassili <[EMAIL PROTECTED]> wrote in message
news:94594@palm-dev-forum...
>
> Hi everyone,
> in the code for address.c (address app) the code defines a function
> AddrPilotMain which is called directly from Pilot main.  The comment:
>
> // Note: We need to create a branch island to PilotMain in order to
> successfully
> //  link this application for the device.
>
> appears in the header of this function.
>
> Does anyone know what do they mean by this?
> Why do they need to this?
> Do we need to do this?
>
> Rgds,
> George B
>
>
>
>



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to