Function gvr_sys::gvr_clear_error [] [src]

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

Clears the current GVR error code, and returns the error code that was cleared.

@param gvr Pointer to the gvr instance. @return The gvr_error code that was cleared by this function, or GVR_ERROR_NONE if no error has occurred.