Blender Git Commit Log

Git Commits -> Revision 5c4180d

Revision 5c4180d by Campbell Barton (master)
July 15, 2014, 11:09 (GMT)
BLI_stack: various small additions

- add BLI_stack_count
- add BLI_stack_pop_n to pop into an array
- add BLI_stack_push_r, which returns a pointer that can be filled in

Also remove sanity check in BLI_stack_pop, assert if the stack is empty.

Commit Details:

Full Hash: 5c4180d89881c08c34e1829fc1998937381a6b59
Parent Commit: a378f8d
Lines Changed: +75, -21

3 Modified Paths:

/source/blender/blenlib/BLI_stack.h (+9, -5) (Diff)
/source/blender/blenlib/intern/stack.c (+54, -15) (Diff)
/tests/gtests/blenlib/BLI_stack_test.cc (+12, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021