pub type GLFWwindowclosefun = Option<unsafe extern "C" fn(*mut GLFWwindow)>;Expand description
@brief The function pointer type for window close callbacks.
This is the function pointer type for window close callbacks. A window close callback function has the following signature: @code void function_name(GLFWwindow* window) @endcode
@param[in] window The window that the user attempted to close.
@sa @ref window_close @sa @ref glfwSetWindowCloseCallback
@since Added in version 2.5. @glfw3 Added window handle parameter.
@ingroup window
Aliased Type§
pub enum GLFWwindowclosefun {
None,
Some(unsafe extern "C" fn(*mut GLFWwindow)),
}