Ali Chraghi
494eb81b56
glfw: expose glfwSetErrorCallback for retrieving optional error descriptions
2021-12-25 11:32:12 -07:00
InKryption
3648d6b9c4
glfw: Denormalize errors ( #115 )
...
Closes hexops/mach#96
Co-authored-by: Stephen Gutekanst <stephen@hexops.com>
2021-12-06 21:52:15 -07:00
InKryption
f9ecc8e1f8
glfw: Finalize removal of 'InvalidEnum' error
2021-11-24 05:14:48 -07:00
InKryption
6127fa267f
glfw: re-instate prong
...
Bring back the 'c.GLFW_NOT_INITIALIZED' prong in 'convertError', such that if it is ever passed that error code, we can differentiate it from just an invalid input; because it is a valid input, we just guarantee that it won't occur.
2021-11-23 11:06:19 -07:00
InKryption
9f241b5109
glfw: Remove 'NotInitialized' error
2021-11-22 12:59:11 -07:00
Stephen Gutekanst
b76e8d02f2
glfw: deduplicate @cImport for type equivalence
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-17 20:14:09 -07:00
Stephen Gutekanst
1c10b309b2
glfw: inline getError helper
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-17 17:24:46 -07:00
Stephen Gutekanst
1b1e184129
glfw: add error handling
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-16 15:06:35 -07:00
Stephen Gutekanst
4b5f94c4ea
glfw: add C -> Zig error translation
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-07-16 14:27:34 -07:00