Go to the documentation of this file.
    6 #ifndef INCLUDED_OPENEXR_CONFIG_H 
    7 #define INCLUDED_OPENEXR_CONFIG_H 1 
   19 #ifndef INCLUDED_OPENEXR_VERSION_H 
   20 #define OPENEXR_VERSION_MAJOR 3 
   21 #define OPENEXR_VERSION_MINOR 3 
   22 #define OPENEXR_VERSION_PATCH 2 
   45 #define OPENEXR_IMF_INTERNAL_NAMESPACE_CUSTOM 1 
   46 #define OPENEXR_IMF_INTERNAL_NAMESPACE Imf_3_3_sidefx 
   52 #define OPENEXR_IMF_NAMESPACE_CUSTOM 1 
   53 #define OPENEXR_IMF_NAMESPACE Imf 
   59 #define OPENEXR_VERSION_STRING "3.3.2" 
   60 #define OPENEXR_PACKAGE_STRING "OpenEXR 3.3.2-dev" 
   62 #define OPENEXR_VERSION_RELEASE_TYPE "-dev" 
   64 #define OPENEXR_VERSION_EXTRA "-dev" 
   66 #define OPENEXR_LIB_VERSION_STRING "32.3.3.2" 
   71 #define OPENEXR_VERSION_HEX                                           \ 
   72     (((OPENEXR_VERSION_MAJOR) << 24) |                                \ 
   73      ((OPENEXR_VERSION_MINOR) << 16) |                                \ 
   74      ((OPENEXR_VERSION_PATCH) << 8)) 
   78 #ifndef __has_attribute 
   79 #    define __has_attribute(x) 0 
   84 #define OPENEXR_ENABLE_API_VISIBILITY 
  118 #if defined(OPENEXR_ENABLE_API_VISIBILITY) &&                                  \ 
  119     !(defined(OPENEXR_DLL) || defined(_MSC_VER)) 
  120 #    define OPENEXR_PUBLIC_SYMBOL_ATTRIBUTE                                    \ 
  121         __attribute__ ((__visibility__ ("default"))) 
  122 #    define OPENEXR_PRIVATE_SYMBOL_ATTRIBUTE                                   \ 
  123         __attribute__ ((__visibility__ ("hidden"))) 
  128 #    if __has_attribute(__type_visibility__) 
  129 #        define OPENEXR_PUBLIC_TYPE_VISIBILITY_ATTRIBUTE                       \ 
  130             __attribute__ ((__type_visibility__ ("default"))) 
  134 #    define OPENEXR_EXPORT OPENEXR_PUBLIC_SYMBOL_ATTRIBUTE 
  135 #    define OPENEXR_HIDDEN OPENEXR_PRIVATE_SYMBOL_ATTRIBUTE 
  139 #    define OPENEXR_EXPORT_TYPE OPENEXR_EXPORT 
  140 #    define OPENEXR_EXPORT_EXTERN_TEMPLATE OPENEXR_EXPORT 
  142 #    ifdef OPENEXR_PUBLIC_TYPE_VISIBILITY_ATTRIBUTE 
  143 #        define OPENEXR_EXPORT_ENUM OPENEXR_PUBLIC_TYPE_VISIBILITY_ATTRIBUTE 
  144 #        define OPENEXR_EXPORT_TEMPLATE_TYPE                                   \ 
  145             OPENEXR_PUBLIC_TYPE_VISIBILITY_ATTRIBUTE 
  150 #        define OPENEXR_EXPORT_TEMPLATE_INSTANCE OPENEXR_EXPORT 
  152 #        define OPENEXR_EXPORT_ENUM 
  153 #        define OPENEXR_EXPORT_TEMPLATE_TYPE OPENEXR_EXPORT 
  154 #        define OPENEXR_EXPORT_TEMPLATE_INSTANCE 
  157 #else // msvc or api visibility disabled, just clear all this out (DLLs will define a set anyway) 
  159 #    define OPENEXR_EXPORT 
  160 #    define OPENEXR_HIDDEN 
  161 #    define OPENEXR_EXPORT_TYPE 
  162 #    define OPENEXR_EXPORT_EXTERN_TEMPLATE 
  163 #    define OPENEXR_EXPORT_ENUM 
  164 #    define OPENEXR_EXPORT_TEMPLATE_TYPE 
  165 #    define OPENEXR_EXPORT_TYPE 
  166 #    define OPENEXR_EXPORT_TEMPLATE_INSTANCE 
  170 #if defined(__cplusplus) && (__cplusplus >= 201402L) 
  171 #    define OPENEXR_DEPRECATED(msg) [[deprecated (msg)]] 
  174 #ifndef OPENEXR_DEPRECATED 
  176 #        define OPENEXR_DEPRECATED(msg) __declspec(deprecated (msg)) 
  178 #        define OPENEXR_DEPRECATED(msg) __attribute__ ((deprecated (msg))) 
  182 #endif // INCLUDED_OPENEXR_CONFIG_H