DiCE API nvidia_logo_transpbg.gif Up
Versioning of the Base API

The Base API has a major and minor version number and an optional qualifier. More...

Macros

#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_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". 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". More...
 

Detailed 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 Base API Version Numbers and Compatibility.

Include File:
#include <mi/base/version.h>

Macro Definition Documentation

 MI_BASE_VERSION_MAJOR

#define MI_BASE_VERSION_MAJOR   1

Base API major version number.

See also
Base API Version Numbers and Compatibility

 MI_BASE_VERSION_MINOR

#define MI_BASE_VERSION_MINOR   0

Base API minor version number.

See also
Base API Version Numbers and Compatibility

 MI_BASE_VERSION_QUALIFIED_STRING

#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".

 MI_BASE_VERSION_QUALIFIER

#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
Base API Version Numbers and Compatibility

 MI_BASE_VERSION_STRING

#define MI_BASE_VERSION_STRING
Value:
MI_BASE_STRINGIZE(MI_BASE_VERSION_MINOR)
#define MI_BASE_STRINGIZE(X)
Creates a string from the value of X, possibly expanding macros in X.
Definition: config.h:90
#define MI_BASE_VERSION_MAJOR
Base API major version number.
Definition: version.h:43
#define MI_BASE_VERSION_MINOR
Base API minor version number.
Definition: version.h:48

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