From bb1e4aef4f1b6cf01878811afa42dd17be611983 Mon Sep 17 00:00:00 2001 From: Pradana AUMARS Date: Fri, 16 Jul 2021 20:24:23 +0200 Subject: [PATCH] Specify that easycsv_read_value returns heap-allocated string pointer Signed-off-by: Pradana AUMARS --- include/easycsv.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/easycsv.h b/include/easycsv.h index a46dbc4..5892339 100644 --- a/include/easycsv.h +++ b/include/easycsv.h @@ -139,10 +139,11 @@ easycsv_find_num_value(const easycsv*, /** * Read string in a specific cell + * String is heap-allocated, it must be destroyed (free'd) manually * @param[in] constant pointer to easycsv structure * @param[in] row number * @param[in] column number - * @return string value of cell, NULL if empty cell + * @return string value of cell, NULL if error */ char* easycsv_read_value(const easycsv*,