18#include "../oxr_objects.h"
31 return oxr_path_store_is_valid(log, &inst->
path_store, path);
43 return oxr_path_store_get_or_create(&inst->
path_store, str, length, out_path);
54 oxr_path_store_only_get(&inst->
path_store, str, length, out_path);
69 struct oxr_logger *log,
const struct oxr_instance *inst, XrPath path,
const char **out_str,
size_t *out_length)
71 return oxr_path_store_get_string(&inst->
path_store, path, out_str, out_length);
Forward declarations for OpenXR state tracker structs.
Path store structure and functions.
Main object that ties everything together.
Definition oxr_objects.h:1214
struct oxr_path_store path_store
Path store for managing paths.
Definition oxr_objects.h:1241
static XrResult oxr_path_get_string(struct oxr_logger *log, const struct oxr_instance *inst, XrPath path, const char **out_str, size_t *out_length)
Get a pointer and length of the internal string.
Definition oxr_path_wrappers.h:68
static void oxr_path_only_get(struct oxr_logger *log, struct oxr_instance *inst, const char *str, size_t length, XrPath *out_path)
Only get the path for the given string if it exists.
Definition oxr_path_wrappers.h:52
static XrResult oxr_path_get_or_create(struct oxr_logger *log, struct oxr_instance *inst, const char *str, size_t length, XrPath *out_path)
Get the path for the given string if it exists, or create it if it does not.
Definition oxr_path_wrappers.h:40
Logger struct that lives on the stack, one for each call client call.
Definition oxr_logger.h:44
Include all of the openxr headers in one place.