CppCommon  1.0.4.1
C++ Common Library
Classes | Namespaces | Macros
dll.h File Reference

Dynamic link library definition. More...

#include "filesystem/path.h"
#include "system/exceptions.h"
#include <memory>
#include "dll.inl"

Go to the source code of this file.

Classes

class  CppCommon::DLL
 Dynamic link library. More...
 

Namespaces

 CppCommon
 C++ Common project definitions.
 

Macros

#define EXPORT
 DLL export macro. More...
 
#define API   extern "C" EXPORT
 DLL API macro. More...
 

Detailed Description

Dynamic link library definition.

Author
Ivan Shynkarenka
Date
07.06.2017

Definition in file dll.h.

Macro Definition Documentation

◆ API

#define API   extern "C" EXPORT

DLL API macro.

DLL API is used to mark exported API functions:

API int PluginFunction();
#define API
DLL API macro.
Definition: dll.h:45

Definition at line 45 of file dll.h.

◆ EXPORT

#define EXPORT

DLL export macro.

DLL export macro is used to mark functions or classes that should be exported into dynamic linked library:

EXPORT int MyFunction();
class EXPORT MyClass {};
#define EXPORT
DLL export macro.
Definition: dll.h:34

Definition at line 34 of file dll.h.