humoto
Macros
export_import.h File Reference

Detailed Description

based on the example taken from https://gcc.gnu.org/wiki/Visibility

Author
Alexander Sherikov

Definition in file export_import.h.

Go to the source code of this file.

Macros

#define HUMOTO_API
 
#define HUMOTO_COMPILE_SHARED_LIB
 
#define HUMOTO_IMPORT_LIB
 
#define HUMOTO_LOCAL
 

Macro Definition Documentation

◆ HUMOTO_API

#define HUMOTO_API

This macro sets visibility parameters of the classes that should be exported from the compiled library. This macro is defined automatically.

Definition at line 19 of file export_import.h.

◆ HUMOTO_COMPILE_SHARED_LIB

#define HUMOTO_COMPILE_SHARED_LIB

This should be defined if humoto is compiled in a shared library to hide classes defied with HUMOTO_LOCAL.

Definition at line 32 of file export_import.h.

◆ HUMOTO_IMPORT_LIB

#define HUMOTO_IMPORT_LIB

This should be defined if some sources are compiled using a library containing humoto. This should be neccessary on WIN platforms, which we do not support currently.

Definition at line 39 of file export_import.h.

◆ HUMOTO_LOCAL

#define HUMOTO_LOCAL

This macro sets visibility parameters of the classes that should NOT be exported from the compiled library. This macro is defined automatically.

Definition at line 26 of file export_import.h.