Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
vppinfra: add vec_new_heap()
[vpp.git]
/
src
/
vppinfra
/
test_vec.c
diff --git
a/src/vppinfra/test_vec.c
b/src/vppinfra/test_vec.c
index
4bfffd1
..
f32cd7f
100644
(file)
--- a/
src/vppinfra/test_vec.c
+++ b/
src/vppinfra/test_vec.c
@@
-676,7
+676,7
@@
validate_vec_init_h (uword num_elts, uword hdr_bytes)
uword len;
elt_t *new;
- new = vec_new_
ha (elt_t, num_elts, hdr_bytes
, 0);
+ new = vec_new_
generic (elt_t, num_elts, hdr_bytes, 0
, 0);
len = vec_len (new);
ASSERT (len == num_elts);