glfw: update possible errors comment
Add 'FormatUnavailable' as a possible error to the 'getClipboardString' comment, which can set it on wayland
This commit is contained in:
parent
6127fa267f
commit
77eeadd407
1 changed files with 1 additions and 1 deletions
|
|
@ -36,7 +36,7 @@ pub inline fn setClipboardString(value: [*:0]const u8) Error!void {
|
|||
///
|
||||
/// @return The contents of the clipboard as a UTF-8 encoded string.
|
||||
///
|
||||
/// Possible errors include glfw.Error.NotInitialized and glfw.Error.PlatformError.
|
||||
/// Possible errors include glfw.Error.NotInitialized, glfw.Error.FormatUnavailable and glfw.Error.PlatformError.
|
||||
///
|
||||
/// @pointer_lifetime The returned string is allocated and freed by GLFW. You should not free it
|
||||
/// yourself. It is valid until the next call to glfw.getClipboardString or glfw.setClipboardString
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue