neuray API Programmer's Manual

Versioning of the Math API

[Math API]

Description

The Math API has a major and minor version number and an optional qualifier. Version numbers and what they tell about compatibility across versions is explained in mi_math_intro_versioning.

Include File:

#include <mi/math/version.h>

Defines

#define MI_MATH_VERSION_MAJOR 1
Math API major version number. More...
#define MI_MATH_VERSION_MINOR 0
Math API minor version number. More...
#define MI_MATH_VERSION_QUALIFIED_STRING MI_MATH_VERSION_STRING
Math API major and minor version number and qualifier in a string representation, such as "1.1" or "1.2-beta2".
#define MI_MATH_VERSION_QUALIFIER ""
Math API version qualifier. More...
#define MI_MATH_VERSION_STRING
Math API major and minor version number without qualifier in a string representation, such as "1.1".

Defines

#define MI_MATH_VERSION_MAJOR 1

Math API major version number.

See also:

mi_math_intro_versioning

#define MI_MATH_VERSION_MINOR 0

Math API minor version number.

See also:

mi_math_intro_versioning

#define MI_MATH_VERSION_QUALIFIED_STRING MI_MATH_VERSION_STRING

Math API major and minor version number and qualifier in a string representation, such as "1.1" or "1.2-beta2".

#define MI_MATH_VERSION_QUALIFIER ""

Math API version qualifier. The version qualifier is a string such as "alpha", "beta", or "beta2", or the empty string "" if this is a final release, in which case the macro MI_MATH_VERSION_QUALIFIER_EMPTY is defined as well.

See also:

mi_math_intro_versioning

#define MI_MATH_VERSION_STRING

Math API major and minor version number without qualifier in a string representation, such as "1.1".

Value

MI_BASE_STRINGIZE(MI_MATH_VERSION_MAJOR) "." \ MI_BASE_STRINGIZE(MI_MATH_VERSION_MINOR)