summaryrefslogtreecommitdiff
path: root/include/git2
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2013-07-08 22:42:02 -0700
committerVicent Marti <tanoku@gmail.com>2013-07-10 20:50:33 +0200
commit6fc5a58197bf04e1b5c6ca1bdb5765e90d3eb106 (patch)
tree311427be29a663927e1cf8d1b86d0796c0d72b3b /include/git2
parent3e96ecf219bd9b84c3a7faec61e818766f60e0d9 (diff)
downloadlibgit2-6fc5a58197bf04e1b5c6ca1bdb5765e90d3eb106.tar.gz
Basic bit vector
This is a simple bit vector object that is not resizable after the initial allocation but can be of arbitrary size. It will keep the bti vector entirely on the stack for vectors 64 bits or less, and will allocate the vector on the heap for larger sizes. The API is uniform regardless of storage location. This is very basic right now and all the APIs are inline functions, but it is useful for storing an array of boolean values.
Diffstat (limited to 'include/git2')
0 files changed, 0 insertions, 0 deletions