rcutils  master
C API providing common utilities and data structures.
Public Attributes | List of all members
rcutils_char_array_t Struct Reference

#include <char_array.h>

Collaboration diagram for rcutils_char_array_t:
Collaboration graph
[legend]

Public Attributes

char * buffer
 
bool owns_buffer
 
size_t buffer_length
 
size_t buffer_capacity
 
rcutils_allocator_t allocator
 

Member Data Documentation

◆ buffer

char* rcutils_char_array_t::buffer

◆ owns_buffer

bool rcutils_char_array_t::owns_buffer

if this is true, we may safely free/realloc the buffer as needed; otherwise we will leave the buffer alone and alloc new memory if more space is needed

◆ buffer_length

size_t rcutils_char_array_t::buffer_length

◆ buffer_capacity

size_t rcutils_char_array_t::buffer_capacity

◆ allocator

rcutils_allocator_t rcutils_char_array_t::allocator

The documentation for this struct was generated from the following file: