VTK-m  2.0
Macros
ExportMacros.h File Reference
#include <vtkm/internal/Configure.h>

Go to the source code of this file.

Macros

#define VTKM_EXEC
 
#define VTKM_EXEC_CONT
 
#define VTKM_SUPPRESS_EXEC_WARNINGS
 
#define VTKM_CONT
 
#define VTKM_ALWAYS_EXPORT   __attribute__((visibility("default")))
 
#define VTKM_NEVER_EXPORT   __attribute__((visibility("hidden")))
 
#define VTKM_STATIC_CONSTEXPR_ARRAY   static constexpr
 
#define VTKM_SILENCE_WEAK_VTABLE_WARNING_START
 
#define VTKM_SILENCE_WEAK_VTABLE_WARNING_END
 
#define vtkmNotUsed(parameter_name)
 Simple macro to identify a parameter as unused. More...
 

Macro Definition Documentation

◆ VTKM_ALWAYS_EXPORT

#define VTKM_ALWAYS_EXPORT   __attribute__((visibility("default")))

◆ VTKM_CONT

#define VTKM_CONT

◆ VTKM_EXEC

#define VTKM_EXEC

Export macros for various parts of the VTKm library.

◆ VTKM_EXEC_CONT

#define VTKM_EXEC_CONT

◆ VTKM_NEVER_EXPORT

#define VTKM_NEVER_EXPORT   __attribute__((visibility("hidden")))

◆ VTKM_SILENCE_WEAK_VTABLE_WARNING_END

#define VTKM_SILENCE_WEAK_VTABLE_WARNING_END

◆ VTKM_SILENCE_WEAK_VTABLE_WARNING_START

#define VTKM_SILENCE_WEAK_VTABLE_WARNING_START

◆ VTKM_STATIC_CONSTEXPR_ARRAY

#define VTKM_STATIC_CONSTEXPR_ARRAY   static constexpr

◆ VTKM_SUPPRESS_EXEC_WARNINGS

#define VTKM_SUPPRESS_EXEC_WARNINGS

◆ vtkmNotUsed

#define vtkmNotUsed (   parameter_name)

Simple macro to identify a parameter as unused.

This allows you to name a parameter that is not used. There are several instances where you might want to do this. For example, when using a parameter to overload or template a function but do not actually use the parameter. Another example is providing a specialization that does not need that parameter.