glfw: expose error handling functions for rare usages
Fixes hexops/mach#586 Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
b803782349
commit
aa911cfd78
1 changed files with 4 additions and 1 deletions
|
@ -8,7 +8,10 @@ const key = @import("key.zig");
|
||||||
/// Possible value for various window hints, etc.
|
/// Possible value for various window hints, etc.
|
||||||
pub const dont_care = c.GLFW_DONT_CARE;
|
pub const dont_care = c.GLFW_DONT_CARE;
|
||||||
|
|
||||||
const errors = @import("errors.zig");
|
/// Most users should not access the error functions in this namespace, but in some rare cases they
|
||||||
|
/// may be useful.
|
||||||
|
pub const errors = @import("errors.zig");
|
||||||
|
|
||||||
const getError = errors.getError;
|
const getError = errors.getError;
|
||||||
pub const setErrorCallback = errors.setErrorCallback;
|
pub const setErrorCallback = errors.setErrorCallback;
|
||||||
pub const Error = errors.Error;
|
pub const Error = errors.Error;
|
||||||
|
|
Loading…
Add table
Reference in a new issue