Add BLI_buffer, an alternative to BLI_array
authorNicholas Bishop <nicholasbishop@gmail.com>
Sun, 30 Dec 2012 18:28:10 +0000 (18:28 +0000)
committerNicholas Bishop <nicholasbishop@gmail.com>
Sun, 30 Dec 2012 18:28:10 +0000 (18:28 +0000)
commit2c9d22fe31dc20df9fecc6322bdb7cbe56783164
treeb08b5c39090f1b9384dd1272e9c128bd35b324d2
parentfc442dbd51a5ef71757a1a179222f358b6efdc8c
Add BLI_buffer, an alternative to BLI_array

BLI_buffer is a dynamic homogeneous array similar to BLI_array, but it
allocates a structure that can be passed around making it possible to
resize the array outside the function it was declared in.
source/blender/blenlib/BLI_buffer.h [new file with mode: 0644]
source/blender/blenlib/CMakeLists.txt
source/blender/blenlib/intern/buffer.c [new file with mode: 0644]