From 77868fe58ee7c953b5b9b7e0f4e436b32ef3ae06 Mon Sep 17 00:00:00 2001 From: Dirk Thomas Date: Fri, 2 Feb 2018 13:47:17 -0800 Subject: [PATCH] update doc for rmw_get_node_names to mention potential null values --- rcl/include/rcl/graph.h | 1 + 1 file changed, 1 insertion(+) diff --git a/rcl/include/rcl/graph.h b/rcl/include/rcl/graph.h index c2755e07f..811e31be7 100644 --- a/rcl/include/rcl/graph.h +++ b/rcl/include/rcl/graph.h @@ -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()