[go: up one dir, main page]

glfwGetWaylandWindow

Function glfwGetWaylandWindow 

Source
pub unsafe extern "C" fn glfwGetWaylandWindow(
    window: *mut GLFWwindow,
) -> *mut c_void
Expand description

@brief Returns the main struct wl_surface* of the specified window.

@return The main struct wl_surface* of the specified window, or NULL if an error occurred.

@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.

@since Added in version 3.2.

@ingroup native