|
Monado OpenXR Runtime
|
Macros for casting between OpenXR handles and internal pointers. More...
#include <stdint.h>
Go to the source code of this file.
Macros | |
| #define | XRT_CAST_PTR_TO_OXR_HANDLE(HANDLE_TYPE, PTR) ((HANDLE_TYPE)(uint64_t)(uintptr_t)(PTR)) |
| Cast a pointer to an OpenXR handle in such a way as to avoid warnings. | |
| #define | XRT_CAST_OXR_HANDLE_TO_PTR(PTR_TYPE, HANDLE) ((PTR_TYPE)(uintptr_t)(uint64_t)(HANDLE)) |
| Cast an OpenXR handle to a pointer in such a way as to avoid warnings. | |
Macros for casting between OpenXR handles and internal pointers.