Next: , Previous: Compiler options, Up: Using the library


15.3 Include files

Most of the include files have been presented in the introduction, see Introduction, and subsequent detailed chapters.

Another include file is <unistring/version.h>. It contains the version number of the libunistring library.

— Macro: int _LIBUNISTRING_VERSION

This constant contains the version of libunistring that is being used at compile time. It encodes the major and minor parts of the version number only. These parts are encoded in the form (major<<8) + minor.

— Constant: int _libunistring_version

This constant contains the version of libunistring that is being used at run time. It encodes the major and minor parts of the version number only. These parts are encoded in the form (major<<8) + minor.

It is possible that _libunistring_version is greater than _LIBUNISTRING_VERSION. This can happen when you use libunistring as a shared library, and a newer, binary backward-compatible version has been installed after your program that uses libunistring was installed.