glfw: zig fmt

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-04-08 16:54:37 -07:00
parent 5c194cfc07
commit d2d5bdc892
2 changed files with 5 additions and 5 deletions

View file

@ -1357,9 +1357,9 @@ pub inline fn getUserPointer(self: Window, comptime T: type) ?*T {
/// ///
/// @callback_param `window` the window that moved. /// @callback_param `window` the window that moved.
/// @callback_param `xpos` the new x-coordinate, in screen coordinates, of the upper-left corner of /// @callback_param `xpos` the new x-coordinate, in screen coordinates, of the upper-left corner of
/// the content area of the window. /// the content area of the window.
/// @callback_param `ypos` the new y-coordinate, in screen coordinates, of the upper-left corner of /// @callback_param `ypos` the new y-coordinate, in screen coordinates, of the upper-left corner of
/// the content area of the window. /// the content area of the window.
/// ///
/// wayland: This callback will never be called, as there is no way for an application to know its /// wayland: This callback will never be called, as there is no way for an application to know its
/// global position. /// global position.

View file

@ -20,7 +20,7 @@ pub const BackendOptions = struct {
osmesa: bool = false, osmesa: bool = false,
}; };
/// This function returns a type which allows provides an interface to access /// This function returns a type which allows provides an interface to access
/// the native handles based on backends selected. /// the native handles based on backends selected.
/// ///
/// The available window API options are: /// The available window API options are:
@ -78,7 +78,7 @@ pub fn Native(comptime options: BackendOptions) type {
/// Returns the display device name of the specified monitor. /// Returns the display device name of the specified monitor.
/// ///
/// return: The UTF-8 encoded display device name (for example `\\.\DISPLAY1\Monitor0`) /// return: The UTF-8 encoded display device name (for example `\\.\DISPLAY1\Monitor0`)
/// of the specified monitor. /// of the specified monitor.
/// ///
/// Possible errors include glfw.Error.NotInitalized. /// Possible errors include glfw.Error.NotInitalized.
@ -282,7 +282,7 @@ pub fn Native(comptime options: BackendOptions) type {
/// Possible errors include glfw.Error.NotInitialized and glfw.Error.PlatformError. /// Possible errors include glfw.Error.NotInitialized and glfw.Error.PlatformError.
/// ///
/// The returned string is allocated and freed by GLFW. You should not free it /// The returned string is allocated and freed by GLFW. You should not free it
/// yourself. It is valid until the next call to getX11SelectionString or /// yourself. It is valid until the next call to getX11SelectionString or
/// setX11SelectionString, or until the library is terminated. /// setX11SelectionString, or until the library is terminated.
/// ///
/// thread_safety: This function must only be called from the main thread. /// thread_safety: This function must only be called from the main thread.