1.10.5 Getting Library Version

Currently, the version of a QSMM library has major.minor format. In the future, a QSMM library with a greater major version may have considerable backward-incompatible changes to the API. That is, upgrading existing applications to support versions with a greater major number may require considerable changes to source code of the applications.

Use the following API function from the header file qsmm.h to get string representation of library version:

Function: const char * qsmm_version ()

This function returns the version of a QSMM library as a string in major.minor format (e.g. ‘1.19.1’).

Use the following macro from the header file version.h (included in qsmm.h) to get string representation of the version of library header files:

Macro: QSMM_HEADERS_VERSION

This macro expands to string representation of the version of installed header files of a QSMM library in major.minor format (e.g. to ‘1.19.1’).