Skip to content

Commit

Permalink
update doc for rmw_get_node_names to mention potential null values
Browse files Browse the repository at this point in the history
  • Loading branch information
dirk-thomas committed Feb 2, 2018
1 parent 44801b3 commit 77868fe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rcl/include/rcl/graph.h
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ rcl_names_and_types_fini(rcl_names_and_types_t * names_and_types);
* The node_names parameter must be allocated and zero initialized.
* The node_names is the output for this function, and contains
* allocated memory.
* Note that entries in the array might contain `NULL` value.
* Use rcutils_get_zero_initialized_string_array() for initializing an empty
* rcutils_string_array_t struct.
* This node_names struct should therefore be passed to rcutils_string_array_fini()
Expand Down

0 comments on commit 77868fe

Please sign in to comment.