pub unsafe extern "C" fn glfwGetVersion(
major: *mut c_int,
minor: *mut c_int,
rev: *mut c_int,
)Expand description
@brief Retrieves the version of the GLFW library.
This function retrieves the major, minor and revision numbers of the GLFW library. It is intended for when you are using GLFW as a shared library and want to ensure that you are using the minimum required version.
Any or all of the version arguments may be NULL.
@param[out] major Where to store the major version number, or NULL.
@param[out] minor Where to store the minor version number, or NULL.
@param[out] rev Where to store the revision number, or NULL.
@errors None.
@remark This function may be called before @ref glfwInit.
@thread_safety This function may be called from any thread.
@sa @ref intro_version @sa @ref glfwGetVersionString
@since Added in version 1.0.
@ingroup init