22#define OXR_CHECK_XRET(LOG, SESS, RESULTS, FUNCTION) \
24 xrt_result_t check_ret = (RESULTS); \
25 if (check_ret == XRT_ERROR_IPC_FAILURE) { \
26 (SESS)->has_lost = true; \
27 return oxr_error(log, XR_ERROR_INSTANCE_LOST, "Call to " #FUNCTION " failed"); \
29 if (check_ret != XRT_SUCCESS) { \
30 return oxr_error(log, XR_ERROR_RUNTIME_FAILURE, "Call to " #FUNCTION " failed"); \
The objects representing OpenXR handles, and prototypes for internal functions used in the state trac...
Internal result type for XRT.