changes to BLI_buffer
authorCampbell Barton <ideasman42@gmail.com>
Sat, 16 Mar 2013 00:12:14 +0000 (00:12 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Sat, 16 Mar 2013 00:12:14 +0000 (00:12 +0000)
commit1b994dbeb0e6ea7220e636d2b828eb427065772b
tree45213d655f9e9c8cd89a24d8d963f83a9d0fd1c9
parent93836a24aaba3965232c6df3f525302bd9b924ce
changes to BLI_buffer
- assert if BLI_buffer_at() is called with an out of bounds value.
- add BLI_buffer_resize_data() macro which resizes and returns a pointer to the new array.
- warn if missing call to BLI_buffer_free().
source/blender/blenlib/BLI_buffer.h
source/blender/blenlib/intern/buffer.c