2021-07-16 11:36:31 -07:00
|
|
|
//! GLFW version info
|
|
|
|
|
2021-07-17 20:14:09 -07:00
|
|
|
const c = @import("c.zig").c;
|
2021-07-16 11:33:46 -07:00
|
|
|
|
2021-07-16 11:52:38 -07:00
|
|
|
/// The major version number of the GLFW library.
|
|
|
|
///
|
|
|
|
/// This is incremented when the API is changed in non-compatible ways.
|
2021-07-16 11:33:46 -07:00
|
|
|
pub const major = c.GLFW_VERSION_MAJOR;
|
|
|
|
|
2021-07-16 11:52:38 -07:00
|
|
|
/// The minor version number of the GLFW library.
|
|
|
|
///
|
|
|
|
/// This is incremented when features are added to the API but it remains backward-compatible.
|
2021-07-16 11:33:46 -07:00
|
|
|
pub const minor = c.GLFW_VERSION_MINOR;
|
|
|
|
|
2021-07-16 11:52:38 -07:00
|
|
|
/// The revision number of the GLFW library.
|
|
|
|
///
|
|
|
|
/// This is incremented when a bug fix release is made that does not contain any API changes.
|
2021-07-16 11:33:46 -07:00
|
|
|
pub const revision = c.GLFW_VERSION_REVISION;
|