Attributes

exposed

exposed turns the symbol into a global symbol so it can be accessed from other code at link time.

dllexport

dllexport exports the symbol when building a shared library. This makes the symbol visible to applications using the library.