From 4f1b9570602c069746a9d63197df29e8b5195df2 Mon Sep 17 00:00:00 2001 From: "Enrico Loparco (eloparco)" Date: Thu, 24 Jun 2021 00:54:34 +0200 Subject: [HICN-711] Add tests for listener table and size check in bitmap Signed-off-by: Enrico Loparco (eloparco) Change-Id: I573477186fc9f0c294975b15b1c908444d5c5559 --- hicn-light/src/hicn/base/vector.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'hicn-light/src/hicn/base/vector.h') diff --git a/hicn-light/src/hicn/base/vector.h b/hicn-light/src/hicn/base/vector.h index b369086fc..fd8401e6d 100644 --- a/hicn-light/src/hicn/base/vector.h +++ b/hicn-light/src/hicn/base/vector.h @@ -251,8 +251,9 @@ do { \ */ #define vector_len(vector) vector_hdr(vector)->cur_size -#ifdef WITH_TESTS +/** + * @brief Returns the allocated size of a vector. + */ #define vector_get_alloc_size(vector) vector_hdr(vector)->alloc_size -#endif /* WITH_TESTS */ #endif /* UTIL_VECTOR_H */ -- cgit 1.2.3-korg