Iris SDK  1.0
Iris Recognition Software Development Kit
export.h
Go to the documentation of this file.
1 #pragma once
2 
6 #ifdef IRIS_SDK_STATIC_IMPORT
7 # define IRIS_SDK_EXPORT
8 # define IRIS_SDK_NO_EXPORT
9 #else
10 # ifndef IRIS_SDK_EXPORT
11 # ifdef iris_sdk_base_EXPORTS
12 /* We are building this library */
13  #if _WIN32
14  # define IRIS_SDK_EXPORT __declspec(dllexport)
15  # define IRIS_SDK_C_EXPORT __declspec(dllexport) __stdcall
16  #else
17  # define IRIS_SDK_EXPORT __attribute__ ((visibility ("default")))
18  # define IRIS_SDK_C_EXPORT __attribute__ ((visibility ("default")))
19  #endif
20 # else
21 /* We are using this library */
22 #if _WIN32
23 # define IRIS_SDK_EXPORT __declspec(dllimport)
24 #else
25 # define IRIS_SDK_EXPORT
26 #endif
27 # endif
28 # endif
29 
30 # ifndef IRIS_SDK_NO_EXPORT
31 # if _WIN32
32 # define IRIS_SDK_NO_EXPORT
33 # define IRIS_SDK_C_NO_EXPORT
34 # else
35 # define IRIS_SDK_NO_EXPORT __attribute__ ((visibility ("hidden")))
36 # define IRIS_SDK_C_NO_EXPORT __attribute__ ((visibility ("hidden")))
37 # endif
38 # endif
39 #endif
40 
41 #ifndef IRIS_SDK_DEPRECATED
42 # define IRIS_SDK_DEPRECATED __declspec(deprecated)
43 #endif
44 
45 #ifndef IRIS_SDK_DEPRECATED_EXPORT
46 # define IRIS_SDK_DEPRECATED_EXPORT IRIS_SDK_EXPORT IRIS_SDK_DEPRECATED
47 #endif
48 
49 #ifndef IRIS_SDK_DEPRECATED_NO_EXPORT
50 # define IRIS_SDK_DEPRECATED_NO_EXPORT IRIS_SDK_NO_EXPORT IRIS_SDK_DEPRECATED
51 #endif
52 
53 #if 0 /* DEFINE_NO_DEPRECATED */
54 # ifndef IRIS_SDK_NO_DEPRECATED
55 # define IRIS_SDK_NO_DEPRECATED
56 # endif
57 #endif