[Asterisk-code-review] vector: defaults and indexes (asterisk[master])
Kevin Harwell
asteriskteam at digium.com
Wed Apr 26 13:24:33 CDT 2017
Hello Mark Michelson, George Joseph, Jenkins2,
I'd like you to reexamine a change. Please visit
https://gerrit.asterisk.org/5527
to look at the new patch set (#3).
Change subject: vector: defaults and indexes
......................................................................
vector: defaults and indexes
Added an pre-defined integer vector declaration. This makes integer vectors
easier to declare and pass around. Also, added the ability to default a vector
up to a given size with a default value. Lastly, added functionality that
returns the "nth" index of a matching value.
Also, updated a unit test to test these changes.
Change-Id: Iaf4b51b2540eda57cb43f67aa59cf1d96cdbcaa5
---
M include/asterisk/vector.h
M tests/test_vector.c
2 files changed, 81 insertions(+), 0 deletions(-)
git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/27/5527/3
--
To view, visit https://gerrit.asterisk.org/5527
To unsubscribe, visit https://gerrit.asterisk.org/settings
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Iaf4b51b2540eda57cb43f67aa59cf1d96cdbcaa5
Gerrit-PatchSet: 3
Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Owner: Kevin Harwell <kharwell at digium.com>
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Jenkins2
Gerrit-Reviewer: Mark Michelson <mmichelson at digium.com>
More information about the asterisk-code-review
mailing list