My Project
unity::api Namespace Reference

Top-level namespace for public functionality of the Unity API. More...

Functions

Version information

Version information is represented as <major>.<minor>.<micro>.

Releases that differ in the major version number are binary incompatible.

Releases that differ in the minor or micro version number are binary compatible with older releases, so client code does not need to be recompiled to use the newer library version.

Changes in the micro version number indicate bug fixes.

Changes in the minor version indicate feature additions that are binary compatible.

int major_version ()
 Returns the major version number of the Unity API library. More...
 
int minor_version ()
 Returns the minor version number of the Unity API library. More...
 
int micro_version ()
 Returns the micro version number of the Unity API library. More...
 
const char * str ()
 Returns the Unity API version as a string in the format <major>.<minor>.<micro>. More...
 

Detailed Description

Top-level namespace for public functionality of the Unity API.

Function Documentation

int unity::api::major_version ( )

Returns the major version number of the Unity API library.

The major version number is also available as the macro UNITY_API_VERSION_MAJOR.

int unity::api::micro_version ( )

Returns the micro version number of the Unity API library.

The micro version number is also available as the macro UNITY_API_VERSION_MICRO.

int unity::api::minor_version ( )

Returns the minor version number of the Unity API library.

The minor version number is also available as the macro UNITY_API_VERSION_MINOR.

char const * unity::api::str ( )

Returns the Unity API version as a string in the format <major>.<minor>.<micro>.

The version string is also available as the macro UNITY_API_VERSION_STRING.