Now i m unable to reach the function which i have written in the segment i wrk 
like this 
in the section.h 

#ifndef _SECTIONS_H
#define _SECTIONS_H

#define EXTRA_SECTION_ONE  __attribute__ ((section ("code1")))
#define EXTRA_SECTION_TWO  __attribute__ ((section ("code2")))

#endif 

 Int16 today (UInt16 data ,char* str) EXTRA_SECTION_TWO;

 Int16 today (UInt16 data ,char* str)
{
 here i define  my function  
}
and at the top of the file in which i m going to use this function 
declare the prototype of this function bcz without that it is giving error and 
include this section.h file in file which  have PilotMain function 
 But when progrm reach at the function call it give error message their is 
memmory leak see the log file but in debug folder i dont find any log  file 
....... 

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

Reply via email to