15 #ifndef RCUTILS__TYPES__STRING_ARRAY_H_ 16 #define RCUTILS__TYPES__STRING_ARRAY_H_ 140 #endif // RCUTILS__TYPES__STRING_ARRAY_H_ int rcutils_ret_t
Definition: rcutils_ret.h:23
#define RCUTILS_PUBLIC_TYPE
Definition: visibility_control.h:51
struct rcutils_string_array_t rcutils_string_array_t
Encapsulation of an allocator.
Definition: allocator.h:45
rcutils_ret_t rcutils_string_array_fini(rcutils_string_array_t *string_array)
Finalize a string array, reclaiming all resources.
rcutils_ret_t rcutils_string_array_init(rcutils_string_array_t *string_array, size_t size, const rcutils_allocator_t *allocator)
Initialize a string array with a given size.
#define RCUTILS_WARN_UNUSED
Definition: macros.h:24
rcutils_ret_t rcutils_string_array_cmp(const rcutils_string_array_t *lhs, const rcutils_string_array_t *rhs, int *res)
Compare two string arrays.
rcutils_string_array_t rcutils_get_zero_initialized_string_array(void)
Return an empty string array struct.
#define RCUTILS_PUBLIC
Definition: visibility_control.h:48
char ** data
Definition: string_array.h:33
size_t size
Definition: string_array.h:32
rcutils_allocator_t allocator
Definition: string_array.h:34
Definition: string_array.h:30