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 plugin. 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 plugin.

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 plugin. The only plugin 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);
uint32_t MVCode_t
Type alias used for return codes.
Definition: mv_error_def.h:61
Data structure holding function pointers to plugin API functions.
Definition: mv_class_v2.h:38
Data structure which is populated by MVInfo with basic information about the plugin.
Definition: mv_plugin_info.h:41