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 the source code of those applications.
Getting a string representation of library version. Use the following API function from the header file qsmm.h:
This function returns the version of a QSMM library as a string in major.minor format (e.g. ‘1.18’).
Getting a string representation of the version of library header files. Use the following macro from the header file version.h (included in qsmm.h):
This macro expands to a string representation of the version of installed header files of a QSMM library (e.g. to ‘1.18’). A C program that uses the library includes the header files. The version of those header files should be equal to the version of a QSMM library used when linking the program. See Header Files, for more information about the header files of QSMM library.