T
tirzan
Hi all,
I'm trying to reuse a piece of code in C, but I have some problems, I
hope you can help me.
summarizing I have a:
typedef enum{
UCHAR,
SCHAR,
INT
} bufferType;
and a function:
void foo( bufferType typeIn ){
...
}
when in the main I call the function foo, with for example:
foo(UCHAR);
I have an error: "UCHAR undeclared"
any hint?
thanks a lot,
tirzan
I'm trying to reuse a piece of code in C, but I have some problems, I
hope you can help me.
summarizing I have a:
typedef enum{
UCHAR,
SCHAR,
INT
} bufferType;
and a function:
void foo( bufferType typeIn ){
...
}
when in the main I call the function foo, with for example:
foo(UCHAR);
I have an error: "UCHAR undeclared"
any hint?
thanks a lot,
tirzan