Currently, the version of the QSMM library is specified in major.minor format. In the future, versions with greater major number may require considerable backward-incompatible changes at source code level for programs that use the library.
To get a string representation of the version, the following API function from the qsmm.h header can be used.
This function returns the version of the QSMM library as a string in major.minor format, e.g. ‘1.16’.
To examine the version of QSMM library headers, which were used when compiling a program, the following macro from the version.h header included by the preprocessor
#include directive in the qsmm.h header can be used.