Skip to content

Commit

Permalink
update doc for rmw_get_node_names to mention potential null values (#214
Browse files Browse the repository at this point in the history
)
  • Loading branch information
dirk-thomas authored Mar 30, 2018
1 parent 952c24f commit d41c923
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 @@ -166,6 +166,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 d41c923

Please sign in to comment.