XXX_API macro for namespaces (exposing plugin namespace function)

I have the same problem as presented here: link
The only difference is that my functions that I try to access are within a namespace instead of a class. How can I expose my namespace function inside of my plugin to other plugins?

You put the macro before the function signature in the declaration.

namespace MyNamespace
{
    XXX_API void MyFunc();
}
1 Like

thanks a lot, struggled several hours to fix this link error :face_holding_back_tears: