L
lancer6238
Hi,
I was looking at an open-source program and saw a function header
defined as:
int Function(int value1, int value2, (int *A)(void *A1, int *A2, void
*A3), void *A3)
and the function is called by
Function(value1, value2, A, A3);
Is the "(int *A)(void *A1, int *A2, void *A3)" in the function header
equivalent to passing a function (A) to another function (Function)?
If so, how are the arguments to A passed into Function when Function
is called?
Thank you.
Regards,
Rayne
I was looking at an open-source program and saw a function header
defined as:
int Function(int value1, int value2, (int *A)(void *A1, int *A2, void
*A3), void *A3)
and the function is called by
Function(value1, value2, A, A3);
Is the "(int *A)(void *A1, int *A2, void *A3)" in the function header
equivalent to passing a function (A) to another function (Function)?
If so, how are the arguments to A passed into Function when Function
is called?
Thank you.
Regards,
Rayne