XVector
xvec_version.h File Reference

XVector library version information. More...

Go to the source code of this file.

Macros

#define XVECTOR_VERSION_MAJOR   0
 Version macros describe the headers used to compile the caller. More...
 
#define XVECTOR_VERSION_MINOR   3
 
#define XVECTOR_VERSION_PATCH   0
 
#define XVECTOR_VERSION   "0.3.0"
 
#define XVECTOR_GIT_COMMIT   "9f1ecea9"
 

Functions

const char * xvecGetVersion (void)
 Get the linked library's major.minor.patch version, without creating a context. More...
 
const char * xvecGetGitCommit (void)
 Get the library's short Git commit hash, or "unknown" without Git metadata. More...
 

Detailed Description

XVector library version information.

Definition in file xvec_version.h.

Macro Definition Documentation

◆ XVECTOR_GIT_COMMIT

#define XVECTOR_GIT_COMMIT   "9f1ecea9"

Definition at line 17 of file xvec_version.h.

◆ XVECTOR_VERSION

#define XVECTOR_VERSION   "0.3.0"

Definition at line 16 of file xvec_version.h.

◆ XVECTOR_VERSION_MAJOR

#define XVECTOR_VERSION_MAJOR   0

Version macros describe the headers used to compile the caller.

Definition at line 13 of file xvec_version.h.

◆ XVECTOR_VERSION_MINOR

#define XVECTOR_VERSION_MINOR   3

Definition at line 14 of file xvec_version.h.

◆ XVECTOR_VERSION_PATCH

#define XVECTOR_VERSION_PATCH   0

Definition at line 15 of file xvec_version.h.

Function Documentation

◆ xvecGetGitCommit()

const char* xvecGetGitCommit ( void  )

Get the library's short Git commit hash, or "unknown" without Git metadata.

Returns
Non-null, null-terminated string owned by the library. Valid while the library is loaded; do not modify or free it. No context is required.

◆ xvecGetVersion()

const char* xvecGetVersion ( void  )

Get the linked library's major.minor.patch version, without creating a context.

Returns
Non-null, null-terminated string owned by the library. Valid while the library is loaded; do not modify or free it. May differ from XVECTOR_VERSION when the caller's headers and linked library come from different builds.