Hi, 

In a multi-section application development
 
How to make Function annotations visible When Calling Function 


For you reference:


I have used following technique to create a multi-section application 


        To build a multi-section application
        1. In makefile, set MULTIPLE_CODE_SECTIONS = TRUE
        2. Edit Sections.def to specify the number of code sections desired
        3. Modify this file to match the code sections
           (Sections.def and this file are set up with 2 extra sections
           by default.)
        4. Include this file in project sources.
        5. Annotate each function with a section define like so: 
                void DoWork() EXTRA_SECTION_ONE;
                void DrawForm() EXTRA_SECTION_TWO;
           Notice that the annotations need to be visible at the function
           definition, and everywhere the function is used.  Any function
           without an annotation will go into the default code section.

        To effectively disable the multi-section annotations, 
        just define these section macros to expand to nothing.

        Be sure to follow the instructions and warnings given at:
        http://prc-tools.sourceforge.net/doc/prc-tools_3.html#SEC17

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

Reply via email to