VTK
vtkABI Class Reference

manage macros for exporting symbols in the binary interface. More...

#include <vtkABI.h>

Detailed Description

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,

#include "vtkABI.h"
#if defined(VTK_BUILD_SHARED_LIBS)
# if defined(vtkCommon_EXPORTS)
# define VTK_COMMON_EXPORT VTK_ABI_EXPORT
# else
# define VTK_COMMON_EXPORT VTK_ABI_IMPORT
# endif
#else
# define VTK_COMMON_EXPORT
#endif

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. Currently hidden is not used, but it can be used to explicitly hide symbols from external linkage.


The documentation for this class was generated from the following file:
vtkABI.h