Blender Git Commit Log

Git Commits -> Revision 1b994db

Revision 1b994db by Campbell Barton (master)
March 16, 2013, 00:12 (GMT)
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().

Commit Details:

Full Hash: 1b994dbeb0e6ea7220e636d2b828eb427065772b
SVN Revision: 55323
Parent Commit: 93836a2
Lines Changed: +21, -4

2 Modified Paths:

/source/blender/blenlib/BLI_buffer.h (+19, -3) (Diff)
/source/blender/blenlib/intern/buffer.c (+2, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021