Monado OpenXR Runtime
u_string_list.h File Reference

A collection of strings, like a list of extensions to enable. More...

#include <stdint.h>
Include dependency graph for u_string_list.h:

Go to the source code of this file.

Functions

bool u_string_list_contains (struct u_string_list *usl, const char *str)
 Check if the string is in the list. More...
 

Detailed Description

A collection of strings, like a list of extensions to enable.

Author
Rylie Pavlik rylie.nosp@m..pav.nosp@m.lik@c.nosp@m.olla.nosp@m.bora..nosp@m.com

Function Documentation

◆ u_string_list_contains()

bool u_string_list_contains ( struct u_string_list usl,
const char *  str 
)

Check if the string is in the list.

(Comparing string contents, not pointers)

Parameters
uslself pointer
stra non-null, null-terminated string.
Returns
true if the string is in the list.

References xrt::auxiliary::util::StringList::contains().