Version
Description:
public namespace Version
Some constants and functions to determine and check the version of the plank library.
Content:
Constants:
- public const int MAJOR
Like get_major_version, but from the headers used at application
compile time, rather than from the library linked against at application run time
- public const int MINOR
Like get_minor_version, but from the headers used at application
compile time, rather than from the library linked against at application run time
- public const int MICRO
Like get_micro_version, but from the headers used at application
compile time, rather than from the library linked against at application run time
- public const int NANO
Like get_nano_version, but from the headers used at application
compile time, rather than from the library linked against at application run time
Methods:
- public uint get_major_version ()
Returns the major version number of the plank library.
- public uint get_minor_version ()
Returns the minor version number of the plank library.
- public uint get_micro_version ()
Returns the micro version number of the plank library.
- public uint get_nano_version ()
Returns the nano version number of the plank library.
- public unowned string? check (uint required_major, uint required_minor, uint required_micro)
Checks that the plank library in use is compatible with the given
version.