NVIDIA Iray API
 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, 2014 NVIDIA Corporation. All rights reserved.
3 //*****************************************************************************
8 //*****************************************************************************
9 
10 #ifndef MI_MATH_VERSION_H
11 #define MI_MATH_VERSION_H
12 
13 #include <mi/base/config.h>
14 
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 of the interfaces offered
34 // through the shared library have changed. Older versions can then explicitly asked for.
35 #define MI_MATH_API_VERSION 0
36 
37 
38 // The following three to four macros define the API version. The macros thereafter are defined in
39 // terms of the first four.
40 
44 #define MI_MATH_VERSION_MAJOR 1
45 
49 #define MI_MATH_VERSION_MINOR 0
50 
58 #define MI_MATH_VERSION_QUALIFIER ""
59 
60 // This macro is defined if #MI_MATH_VERSION_QUALIFIER is the empty string \c "".
61 #define MI_MATH_VERSION_QUALIFIER_EMPTY
62 
65 #define MI_MATH_VERSION_STRING MI_BASE_STRINGIZE(MI_MATH_VERSION_MAJOR) "." \
66  MI_BASE_STRINGIZE(MI_MATH_VERSION_MINOR)
67 
71 #ifdef MI_MATH_VERSION_QUALIFIER_EMPTY
72 #define MI_MATH_VERSION_QUALIFIED_STRING MI_MATH_VERSION_STRING
73 #else
74 #define MI_MATH_VERSION_QUALIFIED_STRING MI_MATH_VERSION_STRING "-" MI_MATH_VERSION_QUALIFIER
75 #endif // MI_MATH_VERSION_QUALIFIER_EMPTY
76  // end group mi_math_version
78 
79 #endif // MI_MATH_VERSION_H