Wrapper around OS threading native functions.
XrResult oxr_handle_array_init(struct oxr_logger *log, struct oxr_handle_array *array)
Initializes the array, must be called before adding handles to it.
Definition oxr_handle_array.c:22
XrResult oxr_handle_array_destroy(struct oxr_logger *log, struct oxr_handle_array *array, int level)
Destroys all handles in the array, and the array itself.
Definition oxr_handle_array.c:49
bool oxr_handle_array_add(struct oxr_handle_array *array, struct oxr_handle_base *handle)
Adds a handle to the array.
Definition oxr_handle_array.c:84
bool oxr_handle_array_remove(struct oxr_handle_array *array, uint32_t index)
Removes the handle at the given index from the array, shifting all later handles down by one.
Definition oxr_handle_array.c:118
A wrapper around a native mutex.
Definition os_threading.h:69
Manages an array of handles, does not have a init function but must be zero initialized where it is d...
Definition oxr_handle_array.h:21
A single OpenXR handle, which is a child of a parent handle holder, if any.
Definition oxr_handle_base.h:62
Logger struct that lives on the stack, one for each call client call.
Definition oxr_logger.h:44