6#ifndef PRISM_STRING_LIST_H
7#define PRISM_STRING_LIST_H
A generic string type that can have various ownership semantics.
void pm_string_list_append(pm_string_list_t *string_list, pm_string_t *string)
Append a pm_string_t to the given string list.
PRISM_EXPORTED_FUNCTION void pm_string_list_free(pm_string_list_t *string_list)
Free the memory associated with the string list.
Macro definitions used throughout the prism library.
#define PRISM_EXPORTED_FUNCTION
By default, we compile with -fvisibility=hidden.
size_t capacity
The capacity of the string list that has been allocated.
pm_string_t * strings
A pointer to the start of the string list.
size_t length
The length of the string list.
A generic string type that can have various ownership semantics.