blob: 6c60a7986ec1df9869627626510e8d152f1bfcfa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#ifndef VULKAN_STRLIST_H
#define VULKAN_STRLIST_H
struct strlist {
const char **list;
int count;
};
void sl_append(struct strlist *sl, const char **strs, int nstrs);
static inline void sl_append1(struct strlist *sl, const char *str)
{
sl_append(sl, &str, 1);
}
void sl_free(struct strlist *sl);
#endif // VULKAN_STRLIST_H
|