[PATCH 0/3] mem: Small enhancements

David Gibson <[email protected]> Thu, 10 Sep 2015 07:54:52 +1000
Newsgroups org.ozlabs.lists.ccan
Message-ID <[email protected]>
Several small enhancements to the mem module.

Changes since v1:
 * Added memoverlaps() function
  * Added an assert for memswap() if called with overlapping regions.

David Gibson (3):
  mem: Remove array_size dependency
  mem: Add function to check whether memory ranges overlap
  mem: Add memswap() function

 ccan/mem/_info      |  1 -
 ccan/mem/mem.c      | 24 ++++++++++++++++++++++++
 ccan/mem/mem.h      | 27 +++++++++++++++++++++++++++
 ccan/mem/test/api.c | 41 +++++++++++++++++++++++++++++++++++++++--
 4 files changed, 90 insertions(+), 3 deletions(-)

-- 
2.4.3

_______________________________________________
ccan mailing list
[email protected]
https://lists.ozlabs.org/listinfo/ccan