add a function to swap elements in a u_arraylist 51/26851/2
authorJozef Kralik <jozef.kralik@kistler.com>
Thu, 30 Aug 2018 07:27:40 +0000 (09:27 +0200)
committerJozef Kralik <jozef.kralik@kistler.com>
Thu, 6 Sep 2018 10:29:29 +0000 (12:29 +0200)
commitc737fbf800c8b7c172ee8a93c45cf42ca987ccf2
tree6d01d1b21b83d1d54401afbff972bef91ed1182c
parent39d0ecf57e4f90755c3a9f2eee0b0585a4a76f1e
add a function to swap elements in a u_arraylist

- u_arraylist_swap provides swap of elements in a array list

Bug: https://jira.iotivity.org/browse/IOT-3075
Bug: https://jira.iotivity.org/browse/IOT-3059
Change-Id: Iead0efa96b95f026b6a5b20731c8069f688c9483
Signed-off-by: Jozef Kralik <jozef.kralik@kistler.com>
resource/csdk/connectivity/common/inc/uarraylist.h
resource/csdk/connectivity/common/src/uarraylist.c
resource/csdk/connectivity/test/uarraylist_test.cpp