libeasymcp2221 2.0.3
Macros
mcp2221_export.h File Reference

Public symbol-visibility and C/C++ linkage helpers. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define MCP2221_API
 Export or import a public libeasymcp2221 API symbol. More...
 
#define MCP2221_BEGIN_DECLS
 Begin a block of declarations using C linkage. More...
 
#define MCP2221_END_DECLS
 End a block started by MCP2221_BEGIN_DECLS. More...
 

Detailed Description

Public symbol-visibility and C/C++ linkage helpers.

Definition in file mcp2221_export.h.

Macro Definition Documentation

◆ MCP2221_API

#define MCP2221_API

Export or import a public libeasymcp2221 API symbol.

The exact expansion depends on the compiler, platform, and whether the shared or static library is being built or consumed.

Definition at line 35 of file mcp2221_export.h.

◆ MCP2221_BEGIN_DECLS

#define MCP2221_BEGIN_DECLS

Begin a block of declarations using C linkage.

Expands to extern "C" { when included from C++ and to nothing in C.

Definition at line 55 of file mcp2221_export.h.

◆ MCP2221_END_DECLS

#define MCP2221_END_DECLS

End a block started by MCP2221_BEGIN_DECLS.

Expands to } when included from C++ and to nothing in C.

Definition at line 56 of file mcp2221_export.h.