OMNI_API
Defined in omni/core/Api.h
-
OMNI_API
Declares a symbol that is marked as externally exported. The symbol will be exported with C decorations. On Windows, this is expected to be exported from the containing DLL. On Linux, this is exported as having default visibility from the module instead of being hidden. This export tag should only be used when tagging exported symbols from within omni.core itself. Exported symbols in other modules (such as
omniGetModuleExports()
functions in implementation libraries) should use OMNI_MODULE_API instead.