Math API nvidia_logo_transpbg.gif Up
version.h
Go to the documentation of this file.
1/***************************************************************************************************
2 * Copyright 2024 NVIDIA Corporation. All rights reserved.
3 **************************************************************************************************/
8
9#ifndef MI_MATH_VERSION_H
10#define MI_MATH_VERSION_H
11
12#include <mi/base/config.h>
13
28// No DLL API yet, make this API version 0 and do not document it in the manual.
29//
30// API version number.
31//
32// A change in this version number indicates that the binary compatibility of the interfaces offered
33// through the shared library have changed. Older versions can then explicitly asked for.
34#define MI_MATH_API_VERSION 0
35
36
37// The following three to four macros define the API version. The macros thereafter are defined in
38// terms of the first four.
39
43#define MI_MATH_VERSION_MAJOR 1
44
48#define MI_MATH_VERSION_MINOR 1
49
57#define MI_MATH_VERSION_QUALIFIER ""
58
59// This macro is defined if #MI_MATH_VERSION_QUALIFIER is the empty string \c "".
60#define MI_MATH_VERSION_QUALIFIER_EMPTY
61
64#define MI_MATH_VERSION_STRING MI_BASE_STRINGIZE(MI_MATH_VERSION_MAJOR) "." \
65 MI_BASE_STRINGIZE(MI_MATH_VERSION_MINOR)
66
70#ifdef MI_MATH_VERSION_QUALIFIER_EMPTY
71#define MI_MATH_VERSION_QUALIFIED_STRING MI_MATH_VERSION_STRING
72#else
73#define MI_MATH_VERSION_QUALIFIED_STRING MI_MATH_VERSION_STRING "-" MI_MATH_VERSION_QUALIFIER
74#endif // MI_MATH_VERSION_QUALIFIER_EMPTY
75 // end group mi_math_version
79
80#endif // MI_MATH_VERSION_H
Configuration of the Base API.