@@ -151,7 +151,7 @@ extern fn glfwGetError(out_desc: ?*?[*:0]const u8) ErrorCode;
151
151
152
152
pub const setErrorCallback = glfwSetErrorCallback ;
153
153
extern fn glfwSetErrorCallback (? ErrorFn ) ? ErrorFn ;
154
- pub const ErrorFn = * const fn (ErrorCode , desc : * ? [ :0 ]const u8 ) callconv (.C ) void ;
154
+ pub const ErrorFn = * const fn (ErrorCode , desc : ? [ * :0 ]const u8 ) callconv (.C ) void ;
155
155
156
156
pub fn rawMouseMotionSupported () bool {
157
157
return glfwRawMouseMotionSupported () == TRUE ;
@@ -697,6 +697,7 @@ pub const Window = opaque {
697
697
pub const getKey = zglfw .getKey ;
698
698
pub const getMouseButton = zglfw .getMouseButton ;
699
699
pub const setSizeLimits = zglfw .setWindowSizeLimits ;
700
+ pub const setSize = zglfw .setWindowSize ;
700
701
pub const setPos = zglfw .setWindowPos ;
701
702
pub const setTitle = zglfw .setWindowTitle ;
702
703
pub const setIcon = zglfw .setWindowIcon ;
@@ -915,7 +916,7 @@ extern fn glfwGetFramebufferSize(*Window, width: ?*c_int, height: ?*c_int) void;
915
916
pub const getWindowSize = glfwGetWindowSize ;
916
917
extern fn glfwGetWindowSize (* Window , width : ? * c_int , height : ? * c_int ) void ;
917
918
918
- pub const setSize = glfwSetWindowSize ;
919
+ pub const setWindowSize = glfwSetWindowSize ;
919
920
extern fn glfwSetWindowSize (* Window , width : c_int , height : c_int ) void ;
920
921
921
922
pub const getWindowPos = glfwGetWindowPos ;
0 commit comments