glfw: deduplicate @cImport for type equivalence
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
74e2bddf93
commit
b76e8d02f2
14 changed files with 31 additions and 13 deletions
|
|
@ -2,7 +2,7 @@
|
|||
//!
|
||||
//! See glfw.setKeyCallback for how these are used.
|
||||
|
||||
const c = @cImport(@cInclude("GLFW/glfw3.h"));
|
||||
const c = @import("c.zig").c;
|
||||
|
||||
/// If this bit is set one or more Shift keys were held down.
|
||||
pub const shift = C.GLFW_MOD_SHIFT;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue