CMPI 2.1.0 API
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Macros

Macros

#define CMPI_EXTERN_C   extern "C" CMPI_EXPORT
 Modifier for specifying the linkage of CMPI functions that are to be exported from MI load libraries. More...
 

Detailed Description

Macro Definition Documentation

#define CMPI_EXTERN_C   extern "C" CMPI_EXPORT

Modifier for specifying the linkage of CMPI functions that are to be exported from MI load libraries.

This modifier needs to be specified on the MI factory functions provided by MI load libraries. MB functions and other MI functions do not need to specifiy this modifier.

C/C++-specific Definition:
The definition of CMPI_EXTERN_C depends on whether the headers are compiled for C or for C++. For details, examine the source code of cmpios.h.
Platform-specific Definition:
The definition of CMPI_EXTERN_C depends on CMPI_EXPORT, which in turn depends on the compile platform (see CMPI_PLATFORM_<xxx>). For details, examine the source code of cmpios.h.