Hi to all... is there any reason for which I cannot declare this:
typedef struct
{
UInt32 test;
} Test;
the problem here is in declarating the static UInt32. I do not know why but
when I do this:
void foo (void)
{
Test test;
foo2(&test);
/* here test.test will be equal to 0, why? at least in my code, what am
I doing wrong? can I declare an integer static ???? */
}
void foo2 (Test * test)
{
test->test = 10;
}
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/