]> git.ipfire.org Git - thirdparty/asterisk.git/commit
include/asterisk/vector.h: Backport vector.h to Asterisk 11 13/313/1
authorMatt Jordan <mjordan@digium.com>
Thu, 30 Apr 2015 16:04:04 +0000 (11:04 -0500)
committerMatt Jordan <mjordan@digium.com>
Thu, 30 Apr 2015 16:09:48 +0000 (11:09 -0500)
commit176cb0d45b70b59a59f942e4170f5dbef3c733e5
tree6b9c54b877044ad9440fcb0764b579c43e4a6ffd
parentacced2b88ba2c4e17180d30c15715aa04002e21a
include/asterisk/vector.h: Backport vector.h to Asterisk 11

Vectors are very useful constructs. As a container, they prevent having
to calloc/realloc arrays manually. They also have advantages over linked
lists, which require elements in the list to be a struct. This patch
backports vectors to Asterisk 11 for use in future patches.

Change-Id: Idc9d74d246a0158b0b36ccb250e7acc71bab078d
include/asterisk/vector.h [new file with mode: 0644]