Top |
#define | RATP_BAREBOX_CHECK_VERSION() |
unsigned int | ratp_barebox_get_major_version () |
unsigned int | ratp_barebox_get_minor_version () |
unsigned int | ratp_barebox_get_micro_version () |
#define | RATP_BAREBOX_MAJOR_VERSION |
#define | RATP_BAREBOX_MINOR_VERSION |
#define | RATP_BAREBOX_MICRO_VERSION |
This section defines the types and methods exposed by the library to report its own version both at build time and at run time.
#define RATP_BAREBOX_CHECK_VERSION(major,minor,micro)
major |
major version (e.g. 1 for version 1.2.5) |
|
minor |
minor version (e.g. 2 for version 1.2.5) |
|
micro |
micro version (e.g. 5 for version 1.2.5) |
TRUE
if the version of the libratp header file
is the same as or newer than the given version.
unsigned int
ratp_barebox_get_major_version (void
);
Runtime check of the major library version.
unsigned int
ratp_barebox_get_minor_version (void
);
Runtime check of the minor library version.
#define RATP_BAREBOX_MAJOR_VERSION (0)
Evaluates to the major version number of libratp which this source is compiled against.
#define RATP_BAREBOX_MINOR_VERSION (0)
Evaluates to the minor version number of libratp which this source is compiled against.