xver.c
April 3, 2026 ยท View on GitHub
Purpose
Compile-time version string accessors.
API Reference
const char *XUtils_Version(void)
- Arguments:
- none.
- Does:
- returns the long version string formatted as:
<major>.<minor> build <build> (<release-date>)
- returns the long version string formatted as:
- Returns:
- pointer to a static string.
const char *XUtils_VersionShort(void)
- Arguments:
- none.
- Does:
- returns the short version string formatted as:
<major>.<minor>.<build>
- returns the short version string formatted as:
- Returns:
- pointer to a static string.
Notes
- Both strings are compile-time constants built from
xver.hmacros. - No allocation occurs and callers must not free the returned pointers.