|
|
#define | LTFAT_VERSION_MAJOR 0 |
| |
|
#define | LTFAT_VERSION_MINOR 1 |
| |
|
#define | LTFAT_VERSION_MICRO 0 |
| |
Utility functions and constants for checking compatibility of the library and the header.
◆ ltfat_get_version()
- Returns
- Pointer to an internal library version struct (no memory allocation occurs).
◆ ltfat_int_is_compatible()
| int ltfat_int_is_compatible |
( |
int |
sizeofyour_ltfat_int | ) |
|
- Returns
- 0 if sizeofyour_ltfat_int is not equal to sizeof(ltfat_int) used in compilation.
◆ ltfat_int_size()
- Returns
- Size of ltfat_int used in compilation
◆ ltfat_is_compatible_version()
| int ltfat_is_compatible_version |
( |
unsigned int |
your_major, |
|
|
unsigned int |
your_minor, |
|
|
unsigned int |
your_micro |
|
) |
| |
- Returns
- 0 if passed version number is not compatible with the binary version. To check the compatibility of your version of ltfat.h with the library pass LTFAT_VERSION_MAJOR, LTFAT_VERSION_MINOR and LTFAT_VERSION_MICRO.