Function rcl_yaml_node_struct_init_with_capacity

Function Documentation

rcl_params_t *rcl_yaml_node_struct_init_with_capacity(size_t capacity, const rcutils_allocator_t allocator)

Initialize parameter structure with a capacity.

Parameters:
  • capacity[in] a capacity to param structure

  • allocator[in] memory allocator to be used

Returns:

a pointer to param structure on success or NULL on failure