[YAML Parser] Depend on rcutils only (#470)

* Make rcl_yaml_param_parser depend on rcutils only.

Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com>

* Address peer review comments.

Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com>
This commit is contained in:
Michel Hidalgo 2019-07-12 11:01:24 -03:00 committed by GitHub
parent 21ff57b14b
commit f9ceef5c86
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 325 additions and 332 deletions

View file

@ -14,7 +14,7 @@
#ifndef RCL_YAML_PARAM_PARSER__TYPES_H_
#define RCL_YAML_PARAM_PARSER__TYPES_H_
#include "rcl/allocator.h"
#include "rcutils/allocator.h"
#include "rcutils/types/string_array.h"
/// \typedef rcl_bool_array_t
@ -81,7 +81,7 @@ typedef struct rcl_params_s
char ** node_names; ///< List of names of the node
rcl_node_params_t * params; ///< Array of parameters
size_t num_nodes; ///< Number of nodes
rcl_allocator_t allocator; ///< Allocator used
rcutils_allocator_t allocator; ///< Allocator used
} rcl_params_t;
#endif // RCL_YAML_PARAM_PARSER__TYPES_H_