pub unsafe extern "C" fn glfwPlatformSupported(platform: i32) -> i32Expand description
@brief Returns whether the library includes support for the specified platform.
This function returns whether the library was compiled with support for the specified
platform. The platform must be one of GLFW_PLATFORM_WIN32, GLFW_PLATFORM_COCOA,
GLFW_PLATFORM_WAYLAND, GLFW_PLATFORM_X11 or GLFW_PLATFORM_NULL.
@param[in] platform The platform to query.
@return GLFW_TRUE if the platform is supported, or GLFW_FALSE otherwise.
@errors Possible errors include @ref GLFW_INVALID_ENUM.
@remark This function may be called before @ref glfwInit.
@thread_safety This function may be called from any thread.
@sa @ref platform @sa @ref glfwGetPlatform
@since Added in version 3.4.
@ingroup init