@ -169,7 +169,8 @@ extern "C" {
* of the specified monitor , or ` NULL ` if an [ error ] ( @ ref error_handling )
* occurred .
*
* @ errors Possible errors include @ ref GLFW_NOT_INITIALIZED .
* @ errors Possible errors include @ ref GLFW_NOT_INITIALIZED and @ ref
* GLFW_PLATFORM_UNAVAILABLE .
*
* @ thread_safety This function may be called from any thread . Access is not
* synchronized .
@ -186,7 +187,8 @@ GLFWAPI const char* glfwGetWin32Adapter(GLFWmonitor* monitor);
* ` \ \ . \ DISPLAY1 \ Monitor0 ` ) of the specified monitor , or ` NULL ` if an
* [ error ] ( @ ref error_handling ) occurred .
*
* @ errors Possible errors include @ ref GLFW_NOT_INITIALIZED .
* @ errors Possible errors include @ ref GLFW_NOT_INITIALIZED and @ ref
* GLFW_PLATFORM_UNAVAILABLE .
*
* @ thread_safety This function may be called from any thread . Access is not
* synchronized .
@ -202,7 +204,8 @@ GLFWAPI const char* glfwGetWin32Monitor(GLFWmonitor* monitor);
* @ return The ` HWND ` of the specified window , or ` NULL ` if an
* [ error ] ( @ ref error_handling ) occurred .
*
* @ errors Possible errors include @ ref GLFW_NOT_INITIALIZED .
* @ errors Possible errors include @ ref GLFW_NOT_INITIALIZED and @ ref
* GLFW_PLATFORM_UNAVAILABLE .
*
* @ remark The ` HDC ` associated with the window can be queried with the
* [ GetDC ] ( https : //docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-getdc)
@ -228,8 +231,8 @@ GLFWAPI HWND glfwGetWin32Window(GLFWwindow* window);
* @ return The ` HGLRC ` of the specified window , or ` NULL ` if an
* [ error ] ( @ ref error_handling ) occurred .
*
* @ errors Possible errors include @ ref GLFW_NO_WINDOW_CONTEXT and @ ref
* GLFW_NOT_INITIALIZED .
* @ errors Possible errors include @ ref GLFW_NOT_INITIALIZED , @ ref
* GLFW_PLATFORM_UNAVAILABLE and @ ref GLFW_NO_WINDOW_CONTEXT .
*
* @ remark The ` HDC ` associated with the window can be queried with the
* [ GetDC ] ( https : //docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-getdc)
@ -255,7 +258,8 @@ GLFWAPI HGLRC glfwGetWGLContext(GLFWwindow* window);
* @ return The ` CGDirectDisplayID ` of the specified monitor , or
* ` kCGNullDirectDisplay ` if an [ error ] ( @ ref error_handling ) occurred .
*
* @ errors Possible errors include @ ref GLFW_NOT_INITIALIZED .
* @ errors Possible errors include @ ref GLFW_NOT_INITIALIZED and @ ref
* GLFW_PLATFORM_UNAVAILABLE .
*
* @ thread_safety This function may be called from any thread . Access is not
* synchronized .
@ -271,7 +275,8 @@ GLFWAPI CGDirectDisplayID glfwGetCocoaMonitor(GLFWmonitor* monitor);
* @ return The ` NSWindow ` of the specified window , or ` nil ` if an
* [ error ] ( @ ref error_handling ) occurred .
*
* @ errors Possible errors include @ ref GLFW_NOT_INITIALIZED .
* @ errors Possible errors include @ ref GLFW_NOT_INITIALIZED and @ ref
* GLFW_PLATFORM_UNAVAILABLE .
*
* @ thread_safety This function may be called from any thread . Access is not
* synchronized .
@ -289,8 +294,8 @@ GLFWAPI id glfwGetCocoaWindow(GLFWwindow* window);
* @ return The ` NSOpenGLContext ` of the specified window , or ` nil ` if an
* [ error ] ( @ ref error_handling ) occurred .
*
* @ errors Possible errors include @ ref GLFW_NO_WINDOW_CONTEXT and @ ref
* GLFW_NOT_INITIALIZED .
* @ errors Possible errors include @ ref GLFW_NOT_INITIALIZED , @ ref
* GLFW_PLATFORM_UNAVAILABLE and @ ref GLFW_NO_WINDOW_CONTEXT .
*
* @ thread_safety This function may be called from any thread . Access is not
* synchronized .
@ -308,7 +313,8 @@ GLFWAPI id glfwGetNSGLContext(GLFWwindow* window);
* @ return The ` Display ` used by GLFW , or ` NULL ` if an
* [ error ] ( @ ref error_handling ) occurred .
*
* @ errors Possible errors include @ ref GLFW_NOT_INITIALIZED .
* @ errors Possible errors include @ ref GLFW_NOT_INITIALIZED and @ ref
* GLFW_PLATFORM_UNAVAILABLE .
*
* @ thread_safety This function may be called from any thread . Access is not
* synchronized .
@ -324,7 +330,8 @@ GLFWAPI Display* glfwGetX11Display(void);
* @ return The ` RRCrtc ` of the specified monitor , or ` None ` if an
* [ error ] ( @ ref error_handling ) occurred .
*
* @ errors Possible errors include @ ref GLFW_NOT_INITIALIZED .
* @ errors Possible errors include @ ref GLFW_NOT_INITIALIZED and @ ref
* GLFW_PLATFORM_UNAVAILABLE .
*
* @ thread_safety This function may be called from any thread . Access is not
* synchronized .
@ -340,7 +347,8 @@ GLFWAPI RRCrtc glfwGetX11Adapter(GLFWmonitor* monitor);
* @ return The ` RROutput ` of the specified monitor , or ` None ` if an
* [ error ] ( @ ref error_handling ) occurred .
*
* @ errors Possible errors include @ ref GLFW_NOT_INITIALIZED .
* @ errors Possible errors include @ ref GLFW_NOT_INITIALIZED and @ ref
* GLFW_PLATFORM_UNAVAILABLE .
*
* @ thread_safety This function may be called from any thread . Access is not
* synchronized .
@ -356,7 +364,8 @@ GLFWAPI RROutput glfwGetX11Monitor(GLFWmonitor* monitor);
* @ return The ` Window ` of the specified window , or ` None ` if an
* [ error ] ( @ ref error_handling ) occurred .
*
* @ errors Possible errors include @ ref GLFW_NOT_INITIALIZED .
* @ errors Possible errors include @ ref GLFW_NOT_INITIALIZED and @ ref
* GLFW_PLATFORM_UNAVAILABLE .
*
* @ thread_safety This function may be called from any thread . Access is not
* synchronized .
@ -371,8 +380,8 @@ GLFWAPI Window glfwGetX11Window(GLFWwindow* window);
*
* @ param [ in ] string A UTF - 8 encoded string .
*
* @ errors Possible errors include @ ref GLFW_NOT_INITIALIZED and @ ref
* GLFW_PLATFORM_ERROR .
* @ errors Possible errors include @ ref GLFW_NOT_INITIALIZED , @ ref
* GLFW_PLATFORM_UNAVAILABLE and @ ref GLFW_PLATFORM_ ERROR .
*
* @ pointer_lifetime The specified string is copied before this function
* returns .
@ -397,8 +406,8 @@ GLFWAPI void glfwSetX11SelectionString(const char* string);
* @ return The contents of the selection as a UTF - 8 encoded string , or ` NULL `
* if an [ error ] ( @ ref error_handling ) occurred .
*
* @ errors Possible errors include @ ref GLFW_NOT_INITIALIZED and @ ref
* GLFW_PLATFORM_ERROR .
* @ errors Possible errors include @ ref GLFW_NOT_INITIALIZED , @ ref
* GLFW_PLATFORM_UNAVAILABLE and @ ref GLFW_PLATFORM_ ERROR .
*
* @ 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 @ ref
@ -424,8 +433,8 @@ GLFWAPI const char* glfwGetX11SelectionString(void);
* @ return The ` GLXContext ` of the specified window , or ` NULL ` if an
* [ error ] ( @ ref error_handling ) occurred .
*
* @ errors Possible errors include @ ref GLFW_NO_WINDOW_CONTEXT and @ ref
* GLFW_NOT_INITIALIZED .
* @ errors Possible errors include @ ref GLFW_NOT_INITIALIZED , @ ref
* GLFW_NO_WINDOW_CONTEXT and @ ref GLFW_PLATFORM_UNAVAILABLE .
*
* @ thread_safety This function may be called from any thread . Access is not
* synchronized .
@ -441,8 +450,8 @@ GLFWAPI GLXContext glfwGetGLXContext(GLFWwindow* window);
* @ return The ` GLXWindow ` of the specified window , or ` None ` if an
* [ error ] ( @ ref error_handling ) occurred .
*
* @ errors Possible errors include @ ref GLFW_NO_WINDOW_CONTEXT and @ ref
* GLFW_NOT_INITIALIZED .
* @ errors Possible errors include @ ref GLFW_NOT_INITIALIZED , @ ref
* GLFW_NO_WINDOW_CONTEXT and @ ref GLFW_PLATFORM_UNAVAILABLE .
*
* @ thread_safety This function may be called from any thread . Access is not
* synchronized .
@ -460,7 +469,8 @@ GLFWAPI GLXWindow glfwGetGLXWindow(GLFWwindow* window);
* @ return The ` struct wl_display * ` used by GLFW , or ` NULL ` if an
* [ error ] ( @ ref error_handling ) occurred .
*
* @ errors Possible errors include @ ref GLFW_NOT_INITIALIZED .
* @ errors Possible errors include @ ref GLFW_NOT_INITIALIZED and @ ref
* GLFW_PLATFORM_UNAVAILABLE .
*
* @ thread_safety This function may be called from any thread . Access is not
* synchronized .
@ -476,7 +486,8 @@ GLFWAPI struct wl_display* glfwGetWaylandDisplay(void);
* @ return The ` struct wl_output * ` of the specified monitor , or ` NULL ` if an
* [ error ] ( @ ref error_handling ) occurred .
*
* @ errors Possible errors include @ ref GLFW_NOT_INITIALIZED .
* @ errors Possible errors include @ ref GLFW_NOT_INITIALIZED and @ ref
* GLFW_PLATFORM_UNAVAILABLE .
*
* @ thread_safety This function may be called from any thread . Access is not
* synchronized .
@ -492,7 +503,8 @@ GLFWAPI struct wl_output* glfwGetWaylandMonitor(GLFWmonitor* monitor);
* @ return The main ` struct wl_surface * ` of the specified window , or ` NULL ` if
* an [ error ] ( @ ref error_handling ) occurred .
*
* @ errors Possible errors include @ ref GLFW_NOT_INITIALIZED .
* @ errors Possible errors include @ ref GLFW_NOT_INITIALIZED and @ ref
* GLFW_PLATFORM_UNAVAILABLE .
*
* @ thread_safety This function may be called from any thread . Access is not
* synchronized .
@ -529,8 +541,8 @@ GLFWAPI EGLDisplay glfwGetEGLDisplay(void);
* @ return The ` EGLContext ` of the specified window , or ` EGL_NO_CONTEXT ` if an
* [ error ] ( @ ref error_handling ) occurred .
*
* @ errors Possible errors include @ ref GLFW_NO_WINDOW_CONTEXT and @ ref
* GLFW_NOT_INITIALIZED .
* @ errors Possible errors include @ ref GLFW_NOT_INITIALIZED and @ ref
* GLFW_NO_WINDOW_CONTEXT .
*
* @ thread_safety This function may be called from any thread . Access is not
* synchronized .
@ -546,8 +558,8 @@ GLFWAPI EGLContext glfwGetEGLContext(GLFWwindow* window);
* @ return The ` EGLSurface ` of the specified window , or ` EGL_NO_SURFACE ` if an
* [ error ] ( @ ref error_handling ) occurred .
*
* @ errors Possible errors include @ ref GLFW_NO_WINDOW_CONTEXT and @ ref
* GLFW_NOT_INITIALIZED .
* @ errors Possible errors include @ ref GLFW_NOT_INITIALIZED and @ ref
* GLFW_NO_WINDOW_CONTEXT .
*
* @ thread_safety This function may be called from any thread . Access is not
* synchronized .
@ -572,8 +584,8 @@ GLFWAPI EGLSurface glfwGetEGLSurface(GLFWwindow* window);
* @ return ` GLFW_TRUE ` if successful , or ` GLFW_FALSE ` if an
* [ error ] ( @ ref error_handling ) occurred .
*
* @ errors Possible errors include @ ref GLFW_NO_WINDOW_CONTEXT and @ ref
* GLFW_NOT_INITIALIZED .
* @ errors Possible errors include @ ref GLFW_NOT_INITIALIZED and @ ref
* GLFW_NO_WINDOW_CONTEXT .
*
* @ thread_safety This function may be called from any thread . Access is not
* synchronized .
@ -596,8 +608,8 @@ GLFWAPI int glfwGetOSMesaColorBuffer(GLFWwindow* window, int* width, int* height
* @ return ` GLFW_TRUE ` if successful , or ` GLFW_FALSE ` if an
* [ error ] ( @ ref error_handling ) occurred .
*
* @ errors Possible errors include @ ref GLFW_NO_WINDOW_CONTEXT and @ ref
* GLFW_NOT_INITIALIZED .
* @ errors Possible errors include @ ref GLFW_NOT_INITIALIZED and @ ref
* GLFW_NO_WINDOW_CONTEXT .
*
* @ thread_safety This function may be called from any thread . Access is not
* synchronized .
@ -613,8 +625,8 @@ GLFWAPI int glfwGetOSMesaDepthBuffer(GLFWwindow* window, int* width, int* height
* @ return The ` OSMesaContext ` of the specified window , or ` NULL ` if an
* [ error ] ( @ ref error_handling ) occurred .
*
* @ errors Possible errors include @ ref GLFW_NO_WINDOW_CONTEXT and @ ref
* GLFW_NOT_INITIALIZED .
* @ errors Possible errors include @ ref GLFW_NOT_INITIALIZED and @ ref
* GLFW_NO_WINDOW_CONTEXT .
*
* @ thread_safety This function may be called from any thread . Access is not
* synchronized .