Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
misc: allow disabling of ipfix exporter via api
[vpp.git]
/
src
/
vppinfra
/
vec.c
diff --git
a/src/vppinfra/vec.c
b/src/vppinfra/vec.c
index
05a557e
..
441e1ac
100644
(file)
--- a/
src/vppinfra/vec.c
+++ b/
src/vppinfra/vec.c
@@
-140,6
+140,18
@@
clib_mem_is_vec_h (void *v, uword header_bytes)
return clib_mem_is_heap_object (vec_header (v, header_bytes));
}
return clib_mem_is_heap_object (vec_header (v, header_bytes));
}
+u32
+vec_len_not_inline (void *v)
+{
+ return vec_len (v);
+}
+
+void
+vec_free_not_inline (void *v)
+{
+ vec_free (v);
+}
+
/** \cond */
#ifdef TEST
/** \cond */
#ifdef TEST