Skip to content

Commit 1ebb39a

Browse files
committed
Clarify rcl_parse_yaml_file() documentation.
Signed-off-by: Michel Hidalgo <[email protected]>
1 parent 250f934 commit 1ebb39a

File tree

1 file changed

+4
-2
lines changed
  • rcl_yaml_param_parser/include/rcl_yaml_param_parser

1 file changed

+4
-2
lines changed

rcl_yaml_param_parser/include/rcl_yaml_param_parser/parser.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,11 @@ RCL_YAML_PARAM_PARSER_PUBLIC
5757
void rcl_yaml_node_struct_fini(
5858
rcl_params_t * params_st);
5959

60-
/// \brief Parse the YAML file, initialize and populate params_st
60+
/// \brief Parse the YAML file and populate \p params_st
61+
/// \pre Given \p params_st must be a valid parameter struct
62+
/// as retured by `rcl_yaml_node_struct_init()`
6163
/// \param[in] file_path is the path to the YAML file
62-
/// \param[inout] params_st points to the populated parameter struct
64+
/// \param[inout] params_st points to the struct to be populated
6365
/// \return true on success and false on failure
6466
RCL_YAML_PARAM_PARSER_PUBLIC
6567
bool rcl_parse_yaml_file(

0 commit comments

Comments
 (0)