VTK
|
manage macros for exporting symbols in the binary interface. More...
#include <vtkABI.h>
manage macros for exporting symbols in the binary interface.
This header defines the macros for importing and exporting symbols in shared objects (DLLs, etc). All VTK headers should use these macros to define the kit specific import/export macros. So for the vtkCommon kit this might be,
See http://gcc.gnu.org/wiki/Visibility for a discussion of the symbol visibility support in GCC. The project must pass extra CFLAGS/CXXFLAGS in order to change the default symbol visibility when using GCC. Using GCC 4.2 or later is recommended when using visibility supoprt, the attribute was added in GCC 4.0. Currently hidden is not used, but it can be used to explicitly hide symbols from external linkage.