XArith
xarith Namespace Reference

Functions

const char * get_version () noexcept
 Get the linked device library's major.minor.patch version. More...
 
const char * get_git_commit () noexcept
 Get the library's short Git commit hash, or "unknown" without Git metadata. More...
 

Function Documentation

◆ get_git_commit()

const char* xarith::get_git_commit ( )
noexcept

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

Returns
Non-null, null-terminated string with static storage duration in the device image. Do not modify or free it, or dereference it on the host.

◆ get_version()

const char* xarith::get_version ( )
noexcept

Get the linked device library's major.minor.patch version.

Returns
Non-null, null-terminated string with static storage duration in the device image. Do not modify or free it, or dereference it on the host.