neuray API Programmer's Manual

Versioning of the Base API

[Base API]

Description

The Base 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_base_intro_versioning.

Include File:

#include <mi/base/version.h>

Defines

#define MI_BASE_VERSION_MAJOR 1
Base API major version number. More...
#define MI_BASE_VERSION_MINOR 0
Base API minor version number. More...
#define MI_BASE_VERSION_QUALIFIED_STRING MI_BASE_VERSION_STRING
Base API major and minor version number and qualifier in a string representation, such as "1.1" or "1.2-beta2".
#define MI_BASE_VERSION_QUALIFIER ""
Base API version qualifier. More...
#define MI_BASE_VERSION_STRING
Base API major and minor version number without qualifier in a string representation, such as "1.1".

Defines

#define MI_BASE_VERSION_MAJOR 1

Base API major version number.

See also:

mi_base_intro_versioning

#define MI_BASE_VERSION_MINOR 0

Base API minor version number.

See also:

mi_base_intro_versioning

#define MI_BASE_VERSION_QUALIFIED_STRING MI_BASE_VERSION_STRING

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

#define MI_BASE_VERSION_QUALIFIER ""

Base 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_BASE_VERSION_QUALIFIER_EMPTY is defined as well.

See also:

mi_base_intro_versioning

#define MI_BASE_VERSION_STRING

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

Value

MI_BASE_STRINGIZE(MI_BASE_VERSION_MAJOR) "." \ MI_BASE_STRINGIZE(MI_BASE_VERSION_MINOR)