libmetal
Loading...
Searching...
No Matches
Library Version Interfaces

Functions

int metal_ver_major (void)
 Library major version number.
 
int metal_ver_minor (void)
 Library minor version number.
 
int metal_ver_patch (void)
 Library patch level.
 
const char * metal_ver (void)
 Library version string.
 

Detailed Description

Function Documentation

◆ metal_ver()

const char * metal_ver ( void )

Library version string.

Return the version string of the library linked into the application. This could differ from the value of METAL_VER, which is the version string of the library that the application was compiled against.

Returns
Library version string.
See also
METAL_VER

◆ metal_ver_major()

int metal_ver_major ( void )

Library major version number.

Return the major version number of the library linked into the application. This is required to match the value of METAL_VER_MAJOR, which is the major version of the library that the application was compiled against.

Returns
Library major version number.
See also
METAL_VER_MAJOR

◆ metal_ver_minor()

int metal_ver_minor ( void )

Library minor version number.

Return the minor version number of the library linked into the application. This could differ from the value of METAL_VER_MINOR, which is the minor version of the library that the application was compiled against.

Returns
Library minor version number.
See also
METAL_VER_MINOR

◆ metal_ver_patch()

int metal_ver_patch ( void )

Library patch level.

Return the patch level of the library linked into the application. This could differ from the value of METAL_VER_PATCH, which is the patch level of the library that the application was compiled against.

Returns
Library patch level.
See also
METAL_VER_PATCH