mv_decl.h File Reference

Definitions of cross-platform declspec macros. More...

Macros

#define MVUserImport
 Set the visibility of symbols which are to be exported from the plug-in. More...
 

Detailed Description

Definitions of cross-platform declspec macros.

Macro Definition Documentation

◆ MVUserImport

#define MVUserImport

Set the visibility of symbols which are to be exported from the plug-in.

This macro's definition is set to a suitable compiler intrinsic on Windows and POSIX systems to ensure that symbols are visible and exported in the dynamic library of the plug-in. The only plug-in API functions for which this is necessary are MVInfo and MVInit_V2:

extern "C" MVUserExport MVCode_t MVInfo(MVPluginInfo_t* pMVInfo);
extern "C" MVUserExport MVCode_t MVInit_V2(MVClass_V2_t* MVClass);
_MVPluginInfo_t
Data structure which is populated by MVInfo with basic information about the plug-in.
Definition: mv_plugin_info.h:41
_MVClass_V2_t
Data structure holding function pointers to plug-in API functions.
Definition: mv_class_v2.h:38
MVCode_t
uint32_t MVCode_t
Type alias used for return codes.
Definition: mv_error_def.h:61