kim-api  2.3.0+v2.3.0.GNU.GNU.
An Application Programming Interface (API) for the Knowledgebase of Interatomic Models (KIM).
Functions
KIM_SemVer.h File Reference

Go to the source code of this file.

Functions

char const * KIM_SEM_VER_GetSemVer ()
 Get the KIM API complete Semantic Version string. More...
 
int KIM_SEM_VER_IsLessThan (char const *const lhs, char const *const rhs, int *const isLessThan)
 Compare two Semantic Version strings. More...
 
int KIM_SEM_VER_ParseSemVer (char const *const version, int const prereleaseLength, int const buildMetadataLength, int *const major, int *const minor, int *const patch, char *const prerelease, char *const buildMetadata)
 Parse Semantic Version string into its six components. More...
 

Function Documentation

◆ KIM_SEM_VER_GetSemVer()

char const* KIM_SEM_VER_GetSemVer ( )

Get the KIM API complete Semantic Version string.

See also
KIM::SEM_VER::GetSemVer, kim_sem_ver_module::kim_get_sem_ver
Since
2.0

◆ KIM_SEM_VER_IsLessThan()

int KIM_SEM_VER_IsLessThan ( char const *const  lhs,
char const *const  rhs,
int *const  isLessThan 
)

Compare two Semantic Version strings.

See also
KIM::SEM_VER::IsLessThan, kim_sem_ver_module::kim_is_less_than
Since
2.0

◆ KIM_SEM_VER_ParseSemVer()

int KIM_SEM_VER_ParseSemVer ( char const *const  version,
int const  prereleaseLength,
int const  buildMetadataLength,
int *const  major,
int *const  minor,
int *const  patch,
char *const  prerelease,
char *const  buildMetadata 
)

Parse Semantic Version string into its six components.

See also
KIM::SEM_VER::ParseSemVer, kim_sem_ver_module::kim_parse_sem_ver
Since
2.0