diff options
author | Kevin Harwell <kharwell@digium.com> | 2017-04-25 11:43:26 -0500 |
---|---|---|
committer | Kevin Harwell <kharwell@digium.com> | 2017-04-26 13:24:44 -0500 |
commit | 4d3b4fbf22053e72c9f8d22ecf6870ae5c5ff250 (patch) | |
tree | b32abb62d0dd66378fa4588163bbf9d92efe0259 /tests/test_netsock2.c | |
parent | d2bb9f21d468a019acba36c9c10559406d0cdbb4 (diff) |
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
Diffstat (limited to 'tests/test_netsock2.c')
0 files changed, 0 insertions, 0 deletions