Blender Git Loki

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)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021