At 06:47 PM 12/11/2003, David Beers wrote:
OK, I did find a slide in this PPT presentation by Neil Rhodes that helped a
bit: http://www.palmsource.com/about/events/expo/2002/pdf/406.pdf

Do I infer correctly from his example that when I do something like ...

#pragma segment SEGMENT1
void foo() {
    ...
}

...then every subsequent function will fall into SEGMENT1 until I insert
another #pragma segment?  And can I invoke #pragma segment SEGMENT1 again in
another part of the file to add some other functions to the same segment?
I.e:  SEGMENT1... SEGMENT2... SEGMENT1... SEGMENT3... etc.?

Yes, that should work.


--
Ben Combee <[EMAIL PROTECTED]>
CodeWarrior for Palm OS technical lead
Palm OS programming help @ www.palmoswerks.com



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

Reply via email to