VTK
vtkABI.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkABI.h
5
6 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7 All rights reserved.
8 See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10 This software is distributed WITHOUT ANY WARRANTY; without even
11 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12 PURPOSE. See the above copyright notice for more information.
13
14=========================================================================*/
44#ifndef vtkABI_h
45#define vtkABI_h
46
47#if defined(_WIN32)
48# define VTK_ABI_IMPORT __declspec(dllimport)
49# define VTK_ABI_EXPORT __declspec(dllexport)
50# define VTK_ABI_HIDDEN
51#elif __GNUC__ >= 4
52# define VTK_ABI_IMPORT __attribute__ ((visibility("default")))
53# define VTK_ABI_EXPORT __attribute__ ((visibility("default")))
54# define VTK_ABI_HIDDEN __attribute__ ((visibility("hidden")))
55#else
56# define VTK_ABI_IMPORT
57# define VTK_ABI_EXPORT
58# define VTK_ABI_HIDDEN
59#endif
60
61/*--------------------------------------------------------------------------*/
62/* If not already defined, define vtkTypeBool. When VTK was started, some */
63/* compilers did not yet support the bool type, and so VTK often used int */
64/* where it should have used bool. Eventually vtkTypeBool will switch to */
65/* real bool. */
66#ifndef VTK_TYPE_BOOL_TYPEDEFED
67# define VTK_TYPE_BOOL_TYPEDEFED
68# if 1
69 typedef int vtkTypeBool;
70# else
71 typedef bool vtkTypeBool;
72# endif
73#endif
74
75#endif // vtkABI_h
76// VTK-HeaderTest-Exclude: vtkABI.h
int vtkTypeBool
Definition: vtkABI.h:69