I am new to C and have a maybe n00b question ...
Until now I thought a function is always defined as:
return_type function_name(function_arg_1 type, function_arg_1_name, ...)
But now I have found a C header file where a function is looking like this:
TIDY_EXPORT int TIDY_CALL tidyDetectedHtmlVersion( TidyDoc tdoc );
Which is more a:
i_do_not_know return_type i_do_not_know function_name(function_arg_1 type, function_arg_1_name)
The whole source can be seen at http://tidy.sourceforge.net/docs/api/tidy_8h-source.html
So what is "TIDY_EXPORT" and "TIDY_CALL" doing?