pub type GLFWdropfun = Option<unsafe extern "C" fn(*mut GLFWwindow, i32, *mut *const i8)>;Expand description
@brief The function pointer type for path drop callbacks.
This is the function pointer type for path drop callbacks. A path drop callback function has the following signature: @code void function_name(GLFWwindow* window, int path_count, const char* paths[]) @endcode
@param[in] window The window that received the event. @param[in] path_count The number of dropped paths. @param[in] paths The UTF-8 encoded file and/or directory path names.
@pointer_lifetime The path array and its strings are valid until the callback function returns.
@sa @ref path_drop @sa @ref glfwSetDropCallback
@since Added in version 3.1.
@ingroup input
Aliased Type§
pub enum GLFWdropfun {
None,
Some(unsafe extern "C" fn(*mut GLFWwindow, i32, *mut *const i8)),
}