hello all,
I am trying to pass a structure that I defined to another function. When I
compile using code warrior it tells me that I have an illegal definition in
my prototype.
sample code:
typedef struct
{
Char a[10];
Char b[10];
}alpha;
something(alpha);
function()
{
alpha one;
Err err = something(one);
}
can someone please help me with this simple but anoyying problem.
- Re: Passing structures to new functions Palm Dev Forum
- Re: Passing structures to new functions Ralf Beckers
- Re: Passing structures to new functions Palm Dev Forum
- Re: Passing structures to new functions krollin
- Re: Passing structures to new functions Palm Dev Forum
- Re: Passing structures to new functions Aaron Ardiri
- Re: Passing structures to new functions Palm Dev Forum
- Re: Passing structures to new functions Mark Nudelman
- Re: Passing structures to new functions Steve Sabram
- Re: Passing structures to new functions Aaron Ardiri
- Re: Passing structures to new functions Steve Sabram
