glfw: correct comment style
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
73055427ad
commit
161b0a540f
3 changed files with 18 additions and 18 deletions
|
|
@ -2,11 +2,11 @@
|
|||
|
||||
const c = @cImport(@cInclude("GLFW/glfw3.h"));
|
||||
|
||||
// The key or mouse button was released.
|
||||
/// The key or mouse button was released.
|
||||
pub const release = C.GLFW_RELEASE;
|
||||
|
||||
// The key or mouse button was pressed.
|
||||
/// The key or mouse button was pressed.
|
||||
pub const press = C.GLFW_RELEASE;
|
||||
|
||||
// The key was held down until it repeated.
|
||||
/// The key was held down until it repeated.
|
||||
pub const repeat = C.GLFW_REPEAT;
|
||||
|
|
|
|||
|
|
@ -2,17 +2,17 @@
|
|||
|
||||
const c = @cImport(@cInclude("GLFW/glfw3.h"));
|
||||
|
||||
// The major version number of the GLFW library.
|
||||
//
|
||||
// This is incremented when the API is changed in non-compatible ways.
|
||||
/// The major version number of the GLFW library.
|
||||
///
|
||||
/// This is incremented when the API is changed in non-compatible ways.
|
||||
pub const major = c.GLFW_VERSION_MAJOR;
|
||||
|
||||
// The minor version number of the GLFW library.
|
||||
//
|
||||
// This is incremented when features are added to the API but it remains backward-compatible.
|
||||
/// The minor version number of the GLFW library.
|
||||
///
|
||||
/// This is incremented when features are added to the API but it remains backward-compatible.
|
||||
pub const minor = c.GLFW_VERSION_MINOR;
|
||||
|
||||
// The revision number of the GLFW library.
|
||||
//
|
||||
// This is incremented when a bug fix release is made that does not contain any API changes.
|
||||
/// The revision number of the GLFW library.
|
||||
///
|
||||
/// This is incremented when a bug fix release is made that does not contain any API changes.
|
||||
pub const revision = c.GLFW_VERSION_REVISION;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue