Version of the libtsduck library.
| #define TS_LIBTSDUCK_CHECK |
( |
| ) |
|
A macro to use in application code to enforce the TSDuck library version.
When this macro is used in an executable or shared library which uses the TSDuck library, it generates an external reference to a symbol name which contains the TSDuck library version number, at the time of the compilation of the application code. If the application is run later on a system with a TSDuck library with a different version, the reference won't be resolved and the application won't run.
If we don't do this, the initialization of application automatically calls complex "Register" constructors in the TSDuck library which may fail if the version of the library is different.