NVIDIA Iray: Math API Home  Up
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
version.h
Go to the documentation of this file.
1 //*****************************************************************************
2 // Copyright 1986, 2016 NVIDIA Corporation. All rights reserved.
3 //*****************************************************************************
9 //*****************************************************************************
10 
11 #ifndef MI_BASE_VERSION_H
12 #define MI_BASE_VERSION_H
13 
14 #include <mi/base/config.h>
15 
29 // No DLL API yet, make this API version 0 and do not document it in the manual.
30 //
31 // API version number.
32 //
33 // A change in this version number indicates that the binary compatibility
34 // of the interfaces offered through the shared library have changed.
35 // Older versions can then explicitly asked for.
36 #define MI_BASE_API_VERSION 0
37 
38 
39 // The following three to four macros define the API version.
40 // The macros thereafter are defined in terms of the first four.
41 
45 #define MI_BASE_VERSION_MAJOR 1
46 
50 #define MI_BASE_VERSION_MINOR 0
51 
60 #define MI_BASE_VERSION_QUALIFIER ""
61 
62 // This macro is defined if #MI_BASE_VERSION_QUALIFIER is the empty string \c "".
63 #define MI_BASE_VERSION_QUALIFIER_EMPTY
64 
67 #define MI_BASE_VERSION_STRING MI_BASE_STRINGIZE(MI_BASE_VERSION_MAJOR) "." \
68  MI_BASE_STRINGIZE(MI_BASE_VERSION_MINOR)
69 
73 #ifdef MI_BASE_VERSION_QUALIFIER_EMPTY
74 #define MI_BASE_VERSION_QUALIFIED_STRING MI_BASE_VERSION_STRING
75 #else
76 #define MI_BASE_VERSION_QUALIFIED_STRING MI_BASE_VERSION_STRING "-" MI_BASE_VERSION_QUALIFIER
77 #endif // MI_BASE_VERSION_QUALIFIER_EMPTY
78 
79  // end group mi_base_version
81 
82 #endif // MI_BASE_VERSION_H