A C function looks like this:
| return_type function_name(argument1, argument2, ...)
{
function body
}
|
However there are some prefixes you can attach between return_type and function_name called storage classes.
Are static and extern the only storage classes?
Are WINAPI and CALLBACK also storage classes? If not what are they? What is this syntax? Can I make my own whatever they are?
I read that these are calling conventions but if they are no storage classes than this is a different syntax right?
I'm sorry for asking this here but I didn't find anything online which helped me.