this should be simple, but i cannot find a way to pass a __gc array to a function.
i have tried many different ways of declaring the function but either the program will not compile or i cannot castthe array to the array to whatever the type that is needed.
i have tried the following function declarations (dealing with an unsigned char __gc[]).
i cannot find any examples online dealing with this simple problem, so i thought id try and asl someone here.
so anyone see what im doing wrong?
thanks for any help.
-Sheriff
i have tried many different ways of declaring the function but either the program will not compile or i cannot castthe array to the array to whatever the type that is needed.
i have tried the following function declarations (dealing with an unsigned char __gc[]).
Code:
void GCtoNorm(unsigned char* out, int size, unsigned char __gc[] in);
void GCtoNorm(unsigned char* out, int size, unsigned char __gc* in);
void GCtoNorm(unsigned char* out, int size, unsigned char __gc*[] in);
void GCtoNorm(unsigned char* out, int size, unsigned char __gc in[]);
i cannot find any examples online dealing with this simple problem, so i thought id try and asl someone here.
so anyone see what im doing wrong?
thanks for any help.
-Sheriff