I need help in resolving an issue which i am facing .
I would want to have a function prototype which accepts two different types of argument at two instances.
For example shown below: I have a structure as shown below:
typedef struct BufferStruct
{
unsigned long BufferType;
unsigned long TheAddress;
} Buffer;
I have a function named Test and this function should accept two different types of argument
1) std::array<Buffer, 2> axBuffer;
2) Buffer axBuffer;
void Test(??)/* function argument ?*/
These are C functions and not C++.
Can someone please help me in getting the appropriate function prototype for the function named "Test"?
Advanced thanks.