[][src]Function gvr_sys::gvr_get_error

pub unsafe extern "C" fn gvr_get_error(gvr: *mut gvr_context) -> i32

Gets the current GVR error code, or GVR_ERROR_NONE if there is no error. This function doesn't clear the error code; see gvr_clear_error().

@param gvr Pointer to the gvr instance. @return The current gvr_error code, or GVR_ERROR_NONE if no error has occurred.