HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
rtcore_config.h
Go to the documentation of this file.
1 // Copyright 2009-2021 Intel Corporation
2 // SPDX-License-Identifier: Apache-2.0
3 
4 #pragma once
5 
6 #define RTC_VERSION_MAJOR 3
7 #define RTC_VERSION_MINOR 13
8 #define RTC_VERSION_PATCH 1
9 #define RTC_VERSION 31301
10 #define RTC_VERSION_STRING "3.13.1"
11 
12 #define RTC_MAX_INSTANCE_LEVEL_COUNT 4
13 
14 #define EMBREE_MIN_WIDTH 0
15 #define RTC_MIN_WIDTH EMBREE_MIN_WIDTH
16 
17 /* #undef EMBREE_STATIC_LIB */
18 #define EMBREE_API_NAMESPACE
19 
20 #if defined(EMBREE_API_NAMESPACE)
21 # define RTC_NAMESPACE embree_3_13_1_sidefx
22 # define RTC_NAMESPACE_BEGIN namespace embree_3_13_1_sidefx {
23 # define RTC_NAMESPACE_END }
24 # define RTC_NAMESPACE_USE using namespace embree_3_13_1_sidefx;
25 # define RTC_API_EXTERN_C
26 # undef EMBREE_API_NAMESPACE
27 #else
28 # define RTC_NAMESPACE_BEGIN
29 # define RTC_NAMESPACE_END
30 # define RTC_NAMESPACE_USE
31 # if defined(__cplusplus)
32 # define RTC_API_EXTERN_C extern "C"
33 # else
34 # define RTC_API_EXTERN_C
35 # endif
36 #endif
37 
38 #if defined(ISPC)
39 # define RTC_API_IMPORT extern "C" unmasked
40 # define RTC_API_EXPORT extern "C" unmasked
41 #elif defined(EMBREE_STATIC_LIB)
42 # define RTC_API_IMPORT RTC_API_EXTERN_C
43 # define RTC_API_EXPORT RTC_API_EXTERN_C
44 #elif defined(_WIN32)
45 # define RTC_API_IMPORT RTC_API_EXTERN_C __declspec(dllimport)
46 # define RTC_API_EXPORT RTC_API_EXTERN_C __declspec(dllexport)
47 #else
48 # define RTC_API_IMPORT RTC_API_EXTERN_C
49 # define RTC_API_EXPORT RTC_API_EXTERN_C __attribute__ ((visibility ("default")))
50 #endif
51 
52 #if defined(RTC_EXPORT_API)
53 # define RTC_API RTC_API_EXPORT
54 #else
55 # define RTC_API RTC_API_IMPORT
56 #endif