@@ -151,7 +151,7 @@ extern fn glfwGetError(out_desc: ?*?[*:0]const u8) ErrorCode;
151151
152152pub const setErrorCallback = glfwSetErrorCallback ;
153153extern 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 ;
155155
156156pub fn rawMouseMotionSupported () bool {
157157 return glfwRawMouseMotionSupported () == TRUE ;
@@ -697,6 +697,7 @@ pub const Window = opaque {
697697 pub const getKey = zglfw .getKey ;
698698 pub const getMouseButton = zglfw .getMouseButton ;
699699 pub const setSizeLimits = zglfw .setWindowSizeLimits ;
700+ pub const setSize = zglfw .setWindowSize ;
700701 pub const setPos = zglfw .setWindowPos ;
701702 pub const setTitle = zglfw .setWindowTitle ;
702703 pub const setIcon = zglfw .setWindowIcon ;
@@ -915,7 +916,7 @@ extern fn glfwGetFramebufferSize(*Window, width: ?*c_int, height: ?*c_int) void;
915916pub const getWindowSize = glfwGetWindowSize ;
916917extern fn glfwGetWindowSize (* Window , width : ? * c_int , height : ? * c_int ) void ;
917918
918- pub const setSize = glfwSetWindowSize ;
919+ pub const setWindowSize = glfwSetWindowSize ;
919920extern fn glfwSetWindowSize (* Window , width : c_int , height : c_int ) void ;
920921
921922pub const getWindowPos = glfwGetWindowPos ;
0 commit comments