neuray API Programmer's Manual

Versioning of the neuray API

[Neuray API]

Description

The neuray 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/neuraylib/version.h>

Defines

#define MI_NEURAYLIB_API_VERSION 15
API version number. More...
#define MI_NEURAYLIB_PLUGIN_TYPE "neuray API v13"
Type of plugins for the Neuray API. More...
#define MI_NEURAYLIB_PRODUCT_VERSION_STRING "2016"
product version number in a string representation, such as "2.0".
#define MI_NEURAYLIB_VERSION_MAJOR 4
Neuray API major version number. More...
#define MI_NEURAYLIB_VERSION_MINOR 0
Neuray API minor version number. More...
#define MI_NEURAYLIB_VERSION_QUALIFIED_STRING
Neuray API major and minor version number and qualifier in a string representation, such as "2.0" or "2.0-beta2".
#define MI_NEURAYLIB_VERSION_QUALIFIER ""
Neuray API version qualifier. More...
#define MI_NEURAYLIB_VERSION_STRING
Neuray API major and minor version number without qualifier in a string representation, such as "2.0".

Defines

#define MI_NEURAYLIB_API_VERSION 15

API version number. A change in this version number indicates that the binary compatibility of the interfaces offered through the shared library have changed.

#define MI_NEURAYLIB_PLUGIN_TYPE "neuray API v13"

Type of plugins for the Neuray API.

See also:

mi::base::Plugin::get_type().

#define MI_NEURAYLIB_PRODUCT_VERSION_STRING "2016"

product version number in a string representation, such as "2.0".

#define MI_NEURAYLIB_VERSION_MAJOR 4

Neuray API major version number.

See also:

mi_base_intro_versioning

#define MI_NEURAYLIB_VERSION_MINOR 0

Neuray API minor version number.

See also:

mi_base_intro_versioning

#define MI_NEURAYLIB_VERSION_QUALIFIED_STRING

Neuray API major and minor version number and qualifier in a string representation, such as "2.0" or "2.0-beta2".

Value

MI_NEURAYLIB_VERSION_STRING

#define MI_NEURAYLIB_VERSION_QUALIFIER ""

Neuray 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_NEURAYLIB_VERSION_QUALIFIER_EMPTY is defined as well.

See also:

mi_base_intro_versioning

#define MI_NEURAYLIB_VERSION_STRING

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

Value

MI_BASE_STRINGIZE(MI_NEURAYLIB_VERSION_MAJOR) "." \ MI_BASE_STRINGIZE(MI_NEURAYLIB_VERSION_MINOR)