Weird Function Declaration
I was reading Direct2D documentation, and I saw a function with the following prototype.
1 2 3 4 5
|
ColorF(FLOAT, FLOAT, FLOAT, FLOAT)(
FLOAT red,
FLOAT green,
FLOAT blue,
FLOAT alpha = 1.0);
|
In this declaration, what is the purpose of the first pair of parentheses? I am unfamiliar with this syntax, and would like to know what it does.
Topic archived. No new replies allowed.