Hi guys, I want to look deeper into the source code of the matrix lib. There I found a construct I don´t understand. In common.h I found the following code line:

Code: Select all

#define EXPORT


usually I use the #define directive for a substitution like:

Code: Select all

#define expr1 expr2


where expr1 is substituted by expr2. But in the code line above there is no second expression.

In common.c I will find the usage of EXPORT as:

Code: Select all

EXPORT int boardInit()
{
    clearLastError();
    ...
   


Later it is used in this way in front of several functions. Is the expression "EXPORT" substituted by "nothing"?

Could anyone explain to me the reason for this construct? Thanks in advance and best regards!