Monado OpenXR Runtime
|
Header holding common defines. More...
#include <stddef.h>
#include <stdint.h>
#include <stdbool.h>
Go to the source code of this file.
Macros | |
#define | ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0])) |
Array size helper. More... | |
#define | XRT_32_BIT |
#define | XRT_PRINTF_FORMAT(fmt, list) |
#define | XRT_MAYBE_UNUSED |
#define | XRT_NO_INLINE |
#define | XRT_DEBUGBREAK() |
To trigger a trap/break in the debugger. More... | |
#define | container_of(ptr, type, field) (type *)((char *)ptr - offsetof(type, field)) |
Get the holder from a pointer to a field. More... | |
Header holding common defines.
#define ARRAY_SIZE | ( | a | ) | (sizeof(a) / sizeof((a)[0])) |
Array size helper.
Referenced by oxr_xrEnumerateInstanceExtensionProperties(), oxr_xrEnumerateReferenceSpaces(), and p_libusb_probe().
#define XRT_32_BIT |
#define XRT_MAYBE_UNUSED |
#define XRT_NO_INLINE |
#define XRT_PRINTF_FORMAT | ( | fmt, | |
list | |||
) |